M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
StoryMode.GameComponents.StoryModeTargetScoreCalculatingModel Class Reference

Inherits TaleWorlds.CampaignSystem.GameComponents.DefaultTargetScoreCalculatingModel.

Public Member Functions

override float GetTargetScoreForFaction (Settlement targetSettlement, Army.ArmyTypes missionType, MobileParty mobileParty, float ourStrength, int numberOfEnemyFactionSettlements, float totalEnemyMobilePartyStrength)
 
- Public Member Functions inherited from TaleWorlds.CampaignSystem.GameComponents.DefaultTargetScoreCalculatingModel
override float CurrentObjectiveValue (MobileParty mobileParty)
 
override float CalculatePatrollingScoreForSettlement (Settlement settlement, MobileParty mobileParty)
 
override float GetTargetScoreForFaction (Settlement targetSettlement, Army.ArmyTypes missionType, MobileParty mobileParty, float ourStrength, int numberOfEnemyFactionSettlements=-1, float totalEnemyMobilePartyStrength=-1)
 
abstract float GetTargetScoreForFaction (Settlement targetSettlement, Army.ArmyTypes missionType, MobileParty mobileParty, float ourStrength, int numberOfEnemyFactionSettlements=-1, float totalEnemyMobilePartyStrength=-1)
 
abstract float CalculatePatrollingScoreForSettlement (Settlement targetSettlement, MobileParty mobileParty)
 
abstract float CurrentObjectiveValue (MobileParty mobileParty)
 

Additional Inherited Members

- Properties inherited from TaleWorlds.CampaignSystem.GameComponents.DefaultTargetScoreCalculatingModel
override float TravelingToAssignmentFactor [get]
 
override float BesiegingFactor [get]
 
override float AssaultingTownFactor [get]
 
override float RaidingFactor [get]
 
override float DefendingFactor [get]
 
- Properties inherited from TaleWorlds.CampaignSystem.ComponentInterfaces.TargetScoreCalculatingModel
abstract float TravelingToAssignmentFactor [get]
 
abstract float BesiegingFactor [get]
 
abstract float AssaultingTownFactor [get]
 
abstract float RaidingFactor [get]
 
abstract float DefendingFactor [get]
 

Member Function Documentation

◆ GetTargetScoreForFaction()

override float StoryMode.GameComponents.StoryModeTargetScoreCalculatingModel.GetTargetScoreForFaction ( Settlement  targetSettlement,
Army::ArmyTypes  missionType,
MobileParty  mobileParty,
float  ourStrength,
int  numberOfEnemyFactionSettlements,
float  totalEnemyMobilePartyStrength 
)
virtual