public override int GetDuration() { return(ActionNotes.Max(p => p.Offset)); }
public static void UpdateTrait(TraitObject trait, int xpValue, ActionNotes context = ActionNotes.DefaultNote, Hero?referenceHero = null) { AddPlayerTraitXPAndLogEntry(trait, xpValue, context, referenceHero !); }