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

Static Public Member Functions

static IEnumerable< PerkObjectGetCaptainPerksForTroopUsages (TroopUsageFlags troopUsageFlags)
 
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)
 
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 void SetDescriptionTextVariable (TextObject description, float bonus, SkillEffect.EffectIncrementType effectIncrementType)
 
static int AvailablePerkCountOfHero (Hero hero)
 

Static Public Attributes

static TextObject
 

Member Function Documentation

◆ GetCaptainPerksForTroopUsages()

static IEnumerable< PerkObject > Helpers.PerkHelper.GetCaptainPerksForTroopUsages ( TroopUsageFlags  troopUsageFlags)
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 
)
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

◆ SetDescriptionTextVariable()

static void Helpers.PerkHelper.SetDescriptionTextVariable ( TextObject  description,
float  bonus,
SkillEffect::EffectIncrementType  effectIncrementType 
)
static

◆ AvailablePerkCountOfHero()

static int Helpers.PerkHelper.AvailablePerkCountOfHero ( Hero  hero)
static

Member Data Documentation

◆ TextObject

Helpers.PerkHelper.TextObject
static