public override void ApplyEffectKind(Person person, Event e) { GameObjects.PersonDetail.Title title = person.Scenario.GameCommonData.AllTitles.GetTitle(increment); if (person.RealTitles.Contains(title)) { title.Influences.PurifyInfluence(person, GameObjects.Influences.Applier.Title, title.ID, false); person.RealTitles.Remove(title); } }
public override void ApplyEffectKind(Person person, Event e) { GameObjects.PersonDetail.Title title = Session.Current.Scenario.GameCommonData.AllTitles.GetTitle(increment); foreach (GameObjects.PersonDetail.Title t in person.RealTitles) { if (t.Kind == title.Kind) { title.Influences.PurifyInfluence(person, GameObjects.Influences.Applier.Title, title.ID, false); person.RealTitles.Remove(title); } } }
public override void ApplyEffectKind(Person person, Event e) { GameObjects.PersonDetail.Title title = person.Scenario.GameCommonData.AllTitles.GetTitle(increment); if (title.Combat) { person.CombatTitle = title; title.Influences.ApplyInfluence(person, GameObjects.Influences.Applier.CombatTitle, 0); } else { person.PersonalTitle = title; title.Influences.ApplyInfluence(person, GameObjects.Influences.Applier.PersonalTitle, 0); } }
public override void ApplyEffectKind(Person person, Event e) { GameObjects.PersonDetail.Title title = person.Scenario.GameCommonData.AllTitles.GetTitle(increment); person.RealTitles.Add(title); }