示例#1
0
 public override void AutoAttackTarget()
 {
     if (!Api.PlayerData.PlayerInCombat)
     {
         return;
     }
     else if (!Api.PlayerData.PlayerHasTarget)
     {
         Target.Act();
     }
     else if (!Api.PlayerData.PlayerIsAttacking)
     {
         Attack.Act();
     }
     else if (SliceAndDice.CanCastSpell)
     {
         SliceAndDice.CastSpell();
     }
     else if (Eviscerate.CanCastSpell)
     {
         Eviscerate.CastSpell();
     }
     else if (KidneyShot.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 (!Api.PlayerData.PlayerInCombat)
     {
         return;
     }
     else if (!Api.PlayerData.PlayerHasTarget)
     {
         Target.Act();
     }
     else if (!Api.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();
     }
 }