MnB2-Bannerlord-CommunityPatch icon indicating copy to clipboard operation
MnB2-Bannerlord-CommunityPatch copied to clipboard

mobile party leader doesn't gain leadership xp by recruiting.

Open mindryu opened this issue 4 years ago • 0 comments

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
}

mindryu avatar Apr 11 '20 04:04 mindryu