Exemplo n.º 1
0
 public static string GetProfession(this Hero hero)
 {
     // parent.SetTextVariable("PROFESSION", HeroHelper.GetCharacterTypeName(hero).ToString().ToLowerInvariant());
     // TextObject CreateObituary(Hero hero, KillCharacterAction.KillCharacterActionDetail detail)
     // TaleWorlds.CampaignSystem.Actions.KillCharacterAction
     return(HeroHelper.GetCharacterTypeName(hero).ToString().ToLowerInvariant());
     //if (hero.IsNoble)
     //{
     //    return Resources.Noble;
     //}
     //else if (hero.IsWanderer)
     //{
     //    return Resources.Wanderer;
     //}
     //else if (hero.IsArtisan)
     //{
     //    return Resources.Artisan;
     //}
     //return string.Empty;
 }