Inherits TaleWorlds.Core.GameModel.
Inherited by SandBox.GameComponents.SandboxBattleMoraleModel, TaleWorlds.MountAndBlade.CustomBattleMoraleModel, and TaleWorlds.MountAndBlade.MultiplayerBattleMoraleModel.
◆ CalculateMaxMoraleChangeDueToAgentIncapacitated()
abstract float float affectorSideMaxMoraleGain TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CalculateMaxMoraleChangeDueToAgentIncapacitated |
( |
Agent |
affectedAgent, |
|
|
AgentState |
affectedAgentState, |
|
|
Agent |
affectorAgent, |
|
|
in KillingBlow |
killingBlow |
|
) |
| |
◆ CalculateMaxMoraleChangeDueToAgentPanicked()
abstract float float affectorSideMaxMoraleGain TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CalculateMaxMoraleChangeDueToAgentPanicked |
( |
Agent |
agent | ) |
|
◆ CalculateMoraleChangeToCharacter()
abstract float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CalculateMoraleChangeToCharacter |
( |
Agent |
agent, |
|
|
float |
maxMoraleChange |
|
) |
| |
|
pure virtual |
◆ GetEffectiveInitialMorale()
abstract float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.GetEffectiveInitialMorale |
( |
Agent |
agent, |
|
|
float |
baseMorale |
|
) |
| |
|
pure virtual |
◆ CanPanicDueToMorale()
abstract bool TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CanPanicDueToMorale |
( |
Agent |
agent | ) |
|
|
pure virtual |
◆ CalculateCasualtiesFactor()
abstract float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CalculateCasualtiesFactor |
( |
BattleSideEnum |
battleSide | ) |
|
|
pure virtual |
◆ GetAverageMorale()
abstract float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.GetAverageMorale |
( |
Formation |
formation | ) |
|
|
pure virtual |
◆ BaseMoraleGainOnKill
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.BaseMoraleGainOnKill = 3f |
|
static |
◆ BaseMoraleLossOnKill
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.BaseMoraleLossOnKill = 4f |
|
static |
◆ BaseMoraleGainOnPanic
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.BaseMoraleGainOnPanic = 2f |
|
static |
◆ BaseMoraleLossOnPanic
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.BaseMoraleLossOnPanic = 1.10f |
|
static |
◆ MeleeWeaponMoraleMultiplier
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.MeleeWeaponMoraleMultiplier = 0.75f |
|
static |
◆ RangedWeaponMoraleMultiplier
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.RangedWeaponMoraleMultiplier = 0.5f |
|
static |
◆ SiegeWeaponMoraleMultiplier
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.SiegeWeaponMoraleMultiplier = 0.25f |
|
static |
◆ BurningSiegeWeaponMoraleBonus
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.BurningSiegeWeaponMoraleBonus = 0.25f |
|
static |
◆ CasualtyFactorRate
const float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.CasualtyFactorRate = 2.0f |
|
static |
◆ affectedSideMaxMoraleLoss
abstract float TaleWorlds.MountAndBlade.ComponentInterfaces.BattleMoraleModel.affectedSideMaxMoraleLoss |