Ejemplo n.º 1
0
 /// <summary>
 /// Pet helper for misc pet abilitys.
 /// </summary>
 public static Composite HandlePetHelpers()
 {
     return(new Decorator(ret => !Buff.PlayerHasBuff("Feign Death"),
                          new PrioritySelector(
                              Spell.CastSpell("Mend Pet", ret => Me.GotAlivePet && (Me.Pet.HealthPercent < CLUSettings.Instance.Hunter.MendPetPercent) && !PetManager.PetHasBuff("Mend Pet"), "Mend Pet"),
                              PetManager.CastPetSpell("Heart of the Phoenix", ret => !Me.GotAlivePet && CLUSettings.Instance.Hunter.UseHeartofthePhoenix, "Heart of the Phoenix"))));
 }