MnB2-Bannerlord-CommunityPatch
MnB2-Bannerlord-CommunityPatch copied to clipboard
mobile party leader doesn't gain leadership xp by recruiting.
Currently, companions and the AI heros do not get leadership experience when they recruit. I suspect the parameter is wrong.
// TaleWorlds.CampaignSystem.dll
// TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.RecruitCampaignBehavior
// Token: 0x060024B2 RID: 9394
private void OnTroopRecruited(Hero arg1, Settlement arg2, Hero individual, CharacterObject troop, int count)
{
SkillLevelingManager.OnPartyRecruited(individual, count); // source hero need xp?
SkillLevelingManager.OnPartyRecruited(arg1, count); // mobile party leader gain leadership xp
}