M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultCombatSimulationModel.

Public Member Functions

int SimulateHit (CharacterObject strikerTroop, CharacterObject struckTroop, PartyBase strikerParty, PartyBase struckParty, float strikerAdvantage, MapEvent battle)
 
int int attackerRounds GetSimulationRoundsForBattle (MapEvent mapEvent, int numDefenders, int numAttackers)
 
int GetNumberOfEquipmentsBuilt (Settlement settlement)
 
float GetMaximumSiegeEquipmentProgress (Settlement settlement)
 
float GetSettlementAdvantage (Settlement settlement)
 
float float attackerAdvantage GetBattleAdvantage (PartyBase defenderParty, PartyBase attackerParty, MapEvent.BattleTypes mapEventType, Settlement settlement)
 

Public Attributes

int defenderRounds
 
float defenderAdvantage
 

Member Function Documentation

◆ SimulateHit()

int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.SimulateHit ( CharacterObject strikerTroop,
CharacterObject struckTroop,
PartyBase strikerParty,
PartyBase struckParty,
float strikerAdvantage,
MapEvent battle )
abstract

◆ GetSimulationRoundsForBattle()

int int attackerRounds TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetSimulationRoundsForBattle ( MapEvent mapEvent,
int numDefenders,
int numAttackers )

◆ GetNumberOfEquipmentsBuilt()

int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetNumberOfEquipmentsBuilt ( Settlement settlement)
abstract

◆ GetMaximumSiegeEquipmentProgress()

float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetMaximumSiegeEquipmentProgress ( Settlement settlement)
abstract

◆ GetSettlementAdvantage()

float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetSettlementAdvantage ( Settlement settlement)
abstract

◆ GetBattleAdvantage()

float float attackerAdvantage TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.GetBattleAdvantage ( PartyBase defenderParty,
PartyBase attackerParty,
MapEvent.BattleTypes mapEventType,
Settlement settlement )

Member Data Documentation

◆ defenderRounds

int TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.defenderRounds
abstract

◆ defenderAdvantage

float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatSimulationModel.defenderAdvantage
abstract