Inherits TaleWorlds.Core.GameModel.
Inherited by SandBox.GameComponents.SandboxAgentStatCalculateModel, TaleWorlds.MountAndBlade.CustomBattleAgentStatCalculateModel, and TaleWorlds.MountAndBlade.MultiplayerAgentStatCalculateModel.
|
abstract void | InitializeAgentStats (Agent agent, Equipment spawnEquipment, AgentDrivenProperties agentDrivenProperties, AgentBuildData agentBuildData) |
|
virtual void | InitializeMissionEquipment (Agent agent) |
|
abstract void | UpdateAgentStats (Agent agent, AgentDrivenProperties agentDrivenProperties) |
|
abstract float | GetDifficultyModifier () |
|
abstract bool | CanAgentRideMount (Agent agent, Agent targetMount) |
|
virtual bool | HasHeavyArmor (Agent agent) |
|
virtual float | GetEffectiveMaxHealth (Agent agent) |
|
virtual float | GetEnvironmentSpeedFactor (Agent agent) |
| Speed multiplier of the agent due to environment (w.r.t. mission time or weather effects like rain etc.)
|
|
float | CalculateAIAttackOnDecideMaxValue () |
|
virtual float | GetWeaponInaccuracy (Agent agent, WeaponComponentData weapon, int weaponSkill) |
|
virtual float | GetDetachmentCostMultiplierOfAgent (Agent agent, IDetachment detachment) |
|
virtual float | GetInteractionDistance (Agent agent) |
|
virtual float | GetMaxCameraZoom (Agent agent) |
|
virtual int | GetEffectiveSkill (BasicCharacterObject agentCharacter, IAgentOriginBase agentOrigin, Formation agentFormation, SkillObject skill) |
|
virtual int | GetEffectiveSkillForWeapon (Agent agent, WeaponComponentData weapon) |
|
abstract float | GetWeaponDamageMultiplier (BasicCharacterObject agentCharacter, IAgentOriginBase agentOrigin, Formation agentFormation, WeaponComponentData weapon) |
|
abstract float | GetKnockBackResistance (Agent agent) |
|
abstract float | GetKnockDownResistance (Agent agent, StrikeType strikeType=StrikeType.Invalid) |
|
abstract float | GetDismountResistance (Agent agent) |
|
virtual string | GetMissionDebugInfoForAgent (Agent agent) |
|
◆ InitializeAgentStats()
◆ InitializeMissionEquipment()
virtual void TaleWorlds.MountAndBlade.AgentStatCalculateModel.InitializeMissionEquipment |
( |
Agent |
agent | ) |
|
|
virtual |
◆ UpdateAgentStats()
abstract void TaleWorlds.MountAndBlade.AgentStatCalculateModel.UpdateAgentStats |
( |
Agent |
agent, |
|
|
AgentDrivenProperties |
agentDrivenProperties |
|
) |
| |
|
pure virtual |
◆ GetDifficultyModifier()
abstract float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetDifficultyModifier |
( |
| ) |
|
|
pure virtual |
◆ CanAgentRideMount()
abstract bool TaleWorlds.MountAndBlade.AgentStatCalculateModel.CanAgentRideMount |
( |
Agent |
agent, |
|
|
Agent |
targetMount |
|
) |
| |
|
pure virtual |
◆ HasHeavyArmor()
virtual bool TaleWorlds.MountAndBlade.AgentStatCalculateModel.HasHeavyArmor |
( |
Agent |
agent | ) |
|
|
virtual |
◆ GetEffectiveMaxHealth()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetEffectiveMaxHealth |
( |
Agent |
agent | ) |
|
|
virtual |
◆ GetEnvironmentSpeedFactor()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetEnvironmentSpeedFactor |
( |
Agent |
agent | ) |
|
|
virtual |
◆ CalculateAIAttackOnDecideMaxValue()
float TaleWorlds.MountAndBlade.AgentStatCalculateModel.CalculateAIAttackOnDecideMaxValue |
( |
| ) |
|
◆ GetWeaponInaccuracy()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetWeaponInaccuracy |
( |
Agent |
agent, |
|
|
WeaponComponentData |
weapon, |
|
|
int |
weaponSkill |
|
) |
| |
|
virtual |
◆ GetDetachmentCostMultiplierOfAgent()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetDetachmentCostMultiplierOfAgent |
( |
Agent |
agent, |
|
|
IDetachment |
detachment |
|
) |
| |
|
virtual |
◆ GetInteractionDistance()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetInteractionDistance |
( |
Agent |
agent | ) |
|
|
virtual |
◆ GetMaxCameraZoom()
virtual float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetMaxCameraZoom |
( |
Agent |
agent | ) |
|
|
virtual |
◆ GetEffectiveSkill()
◆ GetEffectiveSkillForWeapon()
virtual int TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetEffectiveSkillForWeapon |
( |
Agent |
agent, |
|
|
WeaponComponentData |
weapon |
|
) |
| |
|
virtual |
◆ GetWeaponDamageMultiplier()
◆ GetKnockBackResistance()
abstract float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetKnockBackResistance |
( |
Agent |
agent | ) |
|
|
pure virtual |
◆ GetKnockDownResistance()
abstract float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetKnockDownResistance |
( |
Agent |
agent, |
|
|
StrikeType |
strikeType = StrikeType.Invalid |
|
) |
| |
|
pure virtual |
◆ GetDismountResistance()
abstract float TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetDismountResistance |
( |
Agent |
agent | ) |
|
|
pure virtual |
◆ GetMissionDebugInfoForAgent()
virtual string TaleWorlds.MountAndBlade.AgentStatCalculateModel.GetMissionDebugInfoForAgent |
( |
Agent |
agent | ) |
|
|
virtual |
◆ GetMeleeSkill()
◆ CalculateAILevel()
float TaleWorlds.MountAndBlade.AgentStatCalculateModel.CalculateAILevel |
( |
Agent |
agent, |
|
|
int |
relevantSkillLevel |
|
) |
| |
|
protected |
◆ SetAiRelatedProperties()
◆ SetAllWeaponInaccuracy()
◆ MaxHorizontalErrorRadian
const float TaleWorlds.MountAndBlade.AgentStatCalculateModel.MaxHorizontalErrorRadian = 2f * MathF.DegToRad |
|
staticprotected |