M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.PerkHelper Class Reference

Static Public Member Functions

static IEnumerable< PerkObjectGetCaptainPerksForTroopClasses (TroopClassFlag troopClassFlags)
 
static bool PlayerHasAnyItemDonationPerk ()
 
static void AddPerkBonusForParty (PerkObject perk, MobileParty party, bool isPrimaryBonus, ref ExplainedNumber stat)
 
static void AddPerkBonusForCharacter (PerkObject perk, CharacterObject character, bool isPrimaryBonus, ref ExplainedNumber bonuses)
 
static void AddEpicPerkBonusForCharacter (PerkObject perk, CharacterObject character, SkillObject skillType, bool applyPrimaryBonus, ref ExplainedNumber bonuses, int skillRequired=250)
 
static void AddPerkBonusFromCaptain (PerkObject perk, CharacterObject captainCharacter, ref ExplainedNumber bonuses)
 
static void AddPerkBonusForTown (PerkObject perk, Town town, ref ExplainedNumber bonuses)
 
static bool GetPerkValueForTown (PerkObject perk, Town town)
 
static List< PerkObjectGetGovernorPerksForHero (Hero hero)
 
static TextObject GetGovernorEngineeringSkillEffectForHero (Hero governor)
 

Static Public Attributes

static TextObject
 

Member Function Documentation

◆ GetCaptainPerksForTroopClasses()

static IEnumerable< PerkObject > Helpers.PerkHelper.GetCaptainPerksForTroopClasses ( TroopClassFlag  troopClassFlags)
static

◆ PlayerHasAnyItemDonationPerk()

static bool Helpers.PerkHelper.PlayerHasAnyItemDonationPerk ( )
static

◆ AddPerkBonusForParty()

static void Helpers.PerkHelper.AddPerkBonusForParty ( PerkObject  perk,
MobileParty  party,
bool  isPrimaryBonus,
ref ExplainedNumber  stat 
)
static

◆ AddPerkBonusForCharacter()

static void Helpers.PerkHelper.AddPerkBonusForCharacter ( PerkObject  perk,
CharacterObject  character,
bool  isPrimaryBonus,
ref ExplainedNumber  bonuses 
)
static

◆ AddEpicPerkBonusForCharacter()

static void Helpers.PerkHelper.AddEpicPerkBonusForCharacter ( PerkObject  perk,
CharacterObject  character,
SkillObject  skillType,
bool  applyPrimaryBonus,
ref ExplainedNumber  bonuses,
int  skillRequired = 250 
)
static

◆ AddPerkBonusFromCaptain()

static void Helpers.PerkHelper.AddPerkBonusFromCaptain ( PerkObject  perk,
CharacterObject  captainCharacter,
ref ExplainedNumber  bonuses 
)
static

◆ AddPerkBonusForTown()

static void Helpers.PerkHelper.AddPerkBonusForTown ( PerkObject  perk,
Town  town,
ref ExplainedNumber  bonuses 
)
static

◆ GetPerkValueForTown()

static bool Helpers.PerkHelper.GetPerkValueForTown ( PerkObject  perk,
Town  town 
)
static

◆ GetGovernorPerksForHero()

static List< PerkObject > Helpers.PerkHelper.GetGovernorPerksForHero ( Hero  hero)
static

◆ GetGovernorEngineeringSkillEffectForHero()

static TextObject Helpers.PerkHelper.GetGovernorEngineeringSkillEffectForHero ( Hero  governor)
static

Member Data Documentation

◆ TextObject

Helpers.PerkHelper.TextObject
static