M&B: Bannerlord 1.2.12
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 {
  Battle ,
  PracticeFight ,
  Tournament ,
  SimulationBattle ,
  NoXp
}
 

Public Member Functions

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

Properties

float CaptainRadius [get]
 

Member Enumeration Documentation

◆ MissionTypeEnum

Enumerator
Battle 
PracticeFight 
Tournament 
SimulationBattle 
NoXp 

Member Function Documentation

◆ GetSkillForWeapon()

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

◆ GetXpFromHit()

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

◆ GetXpMultiplierFromShotDifficulty()

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

Property Documentation

◆ CaptainRadius

float TaleWorlds.CampaignSystem.ComponentInterfaces.CombatXpModel.CaptainRadius
getabstract