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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultCombatXpModel.

Public Types

enum  MissionTypeEnum
 

Public Member Functions

abstract SkillObject GetSkillForWeapon (WeaponComponentData weapon, bool isSiegeEngineHit)
 
abstract void GetXpFromHit (CharacterObject attackerTroop, CharacterObject captain, CharacterObject attackedTroop, PartyBase attackerParty, int damage, bool isFatal, MissionTypeEnum missionType, out int xpAmount)
 
abstract float GetXpMultiplierFromShotDifficulty (float shotDifficulty)
 

Properties

abstract float CaptainRadius [get]
 

Member Enumeration Documentation

◆ MissionTypeEnum

Member Function Documentation

◆ GetSkillForWeapon()

abstract SkillObject TaleWorlds.CampaignSystem.ComponentInterfaces.CombatXpModel.GetSkillForWeapon ( WeaponComponentData  weapon,
bool  isSiegeEngineHit 
)
pure virtual

◆ GetXpFromHit()

abstract void TaleWorlds.CampaignSystem.ComponentInterfaces.CombatXpModel.GetXpFromHit ( CharacterObject  attackerTroop,
CharacterObject  captain,
CharacterObject  attackedTroop,
PartyBase  attackerParty,
int  damage,
bool  isFatal,
MissionTypeEnum  missionType,
out int  xpAmount 
)
pure virtual

◆ GetXpMultiplierFromShotDifficulty()

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatXpModel.GetXpMultiplierFromShotDifficulty ( float  shotDifficulty)
pure virtual

Property Documentation

◆ CaptainRadius

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatXpModel.CaptainRadius
get