示例#1
0
 public override void AutoAttackTarget()
 {
     if (!WowApi.PlayerData.PlayerInCombat)
     {
         return;
     }
     else if (!WowApi.PlayerData.PlayerHasTarget)
     {
         Target.Act();
     }
     else if (!WowApi.PlayerData.PlayerIsAttacking)
     {
         Attack.Act();
     }
     else if (SliceAndDice.CanCastSpell)
     {
         SliceAndDice.CastSpell();
     }
     else if (Eviscerate.CanCastSpell)
     {
         Eviscerate.CastSpell();
     }
     else if (Eviscerate.CanCastSpell || Rupture.CanCastSpell)
     {
         if (RuptureFirst)
         {
             if (Rupture.CanCastSpell)
             {
                 Rupture.CastSpell();
             }
             else if (KidneyShot.CanCastSpell)
             {
                 KidneyShot.CastSpell();
             }
         }
         else
         {
             if (KidneyShot.CanCastSpell)
             {
                 KidneyShot.CastSpell();
             }
             else if (Rupture.CanCastSpell)
             {
                 Rupture.CastSpell();
             }
         }
     }
     else if (SinisterStrike.CanCastSpell)
     {
         SinisterStrike.CastSpell();
     }
 }
示例#2
0
 private void AutoAttackTargetDruidCat()
 {
     if (!WowApi.PlayerData.PlayerInCombat)
     {
         return;
     }
     else if (!WowApi.PlayerData.PlayerHasTarget)
     {
         Target.Act();
     }
     else if (!WowApi.PlayerData.PlayerIsAttacking)
     {
         Attack.Act();
     }
     else if (Rake.CanCastSpell)
     {
         Rake.CastSpell();
     }
     else if (TigersFury.CanCastSpell)
     {
         TigersFury.CastSpell();
     }
     else if (Rip.CanCastSpell)
     {
         Rip.CastSpell();
     }
     else if (Claw.CanCastSpell)
     {
         Claw.CastSpell();
     }
 }