Esempio n. 1
0
        public static void Npc72462()
        {
            //чи-чи
            var hp = GoldenPet.GetActiveSlot(BattlePet.Skills.PetOwner.Me).PetHP();

            if (!CommandHasBuff(255, BattlePet.Skills.PetOwner.Me))
            {
                if (GoldenPet.CanCast(BattlePet.Skills.PetAbilityIndex.Ability2))
                {
                    GoldenPet.Cast(BattlePet.Skills.PetAbilityIndex.Ability2);
                }
            }
            if (hp < 60 && GoldenPet.CanCast(BattlePet.Skills.PetAbilityIndex.Ability3))
            {
                GoldenPet.Cast(BattlePet.Skills.PetAbilityIndex.Ability3);
            }
            GoldenPet.Cast(BattlePet.Skills.PetAbilityIndex.Ability1);
        }