public static Mastery GetCunning(this Obj_AI_Hero hero, Cunning cunning) { return(hero.GetMastery(MasteryPage.Cunning, (int)cunning)); }
public static Mastery GetFerocity(this Obj_AI_Hero hero, Ferocity ferocity) { return(hero.GetMastery(MasteryPage.Ferocity, (int)ferocity)); }
public static Mastery GetResolve(this Obj_AI_Hero hero, Resolve resolve) { return(hero.GetMastery(MasteryPage.Resolve, (int)resolve)); }
public static bool IsUsingMastery(this Obj_AI_Hero hero, MasteryPage page, uint mastery) { return(hero?.GetMastery(page, mastery) != null); }