SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function mage_fire_single()
  2.     if TankTarget("Gehennas") or TankTarget("Magmadar") then SelfBuff("Fire Ward") end
  3.     if buffed("Living Bomb","player") then Follow_Dude(MB_bombfollow) end
  4.    
  5.    
  6.     if not TargetInCombat() then cast("Pyroblast") end
  7.     if not MB_My_cc_target and not IsCombustion() and MB_castingfrost and not MB_stopcasting then SpellStopCasting() MB_stopcasting=true end
  8.     if ImBusy() then return ReportCPU("Mage fire single busy") end
  9.     if MyManaPct()<.8 and InCombat() then RunLine("/use Mana Ruby") end
  10.     if MyManaPct()<.8 and InCombat() then RunLine("/use Mana Citrine") end
  11.     if MyManaPct()<.1 then RunLine("/use Major Mana Potion") end
  12.     CC()
  13.     Decurse()
  14.     if not IAmFocus() then LockonTarget() end
  15.     if MyManaPct()<.1 and not OnCooldown("Evocation") then cast("Evocation") end
  16.     if MB_do_an_interrupt then cast(MB_INT_spell[myclass]) MB_do_an_interrupt=nil end
  17.     if TargetInCombat() or IAmFocus() then
  18.         if not buffed("Detect Magic","player") and (UnitName("target")=="Magmadar" or UnitName("target")=="Anubisath Sentinel" or UnitName("target")=="Anubisath Guardian" or UnitName("target")=="Shazzrah") then BuffCast("Detect Magic") end
  19.         if IsAltKeyDown() and not MB_My_cc_target and not (UnitName("target")=="Anubisath Sentinel" or UnitName("target")=="Anubisath Guardian") then SpellStopCasting() end
  20.         if not IsAltKeyDown() then
  21.             if UnitName("target")=="Ayamiss the Hunter" and (TargetHealthPct()<.73 and TargetHealthPct()>.69) then return end
  22.             --if JindoBurn() then cast("Fire Blast") end
  23.             if UnitName("target")=="Hive'Zara Larva" then
  24.                 cast("Scorch")
  25.             end
  26.            
  27.             if Jindo() and UnitName("target")~="Jin'do the Hexxer" then
  28.                     if not OnCooldown("Fire Blast") then cast("Fire Blast") end
  29.                     if not OnCooldown("Blast Wave") and UnitName("target")=="Shade of Jin'do" then cast("Blast Wave") end
  30.                     cast("Scorch")
  31.             end
  32.            
  33.             if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") then cast("Fire Blast") end
  34.             if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") then cast("Scorch") end
  35.             if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") and InMeleeRange() then cast("Blast Wave") end
  36.             if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") and InMeleeRange() then cast("Arcane Explosion") end
  37.             if (UnitName("target")=="Anubisath Guardian" or UnitName("target")=="Anubisath Sentinel") and buffed("Fire and Arcane Reflect","target") then
  38.                 cast("Frostbolt")
  39.             end
  40.             if UnitName("target")=="Azuregos" then
  41.                 if buffed("Magic Shield","target") then SpellStopCasting() return end
  42.                 cast("Scorch")
  43.             SelfBuff("Frost Ward")
  44.             end
  45.             if FireResistant() then
  46.                 cast("Frostbolt")
  47.             else
  48.                 if UnitLevel("player")<60 then
  49.                     --if SpellExists("Scorch") then StackCast("Scorch",5) end
  50.                     cast("Fireball")
  51.                 else
  52.                     RollingIgnite()
  53.                 end
  54.             end
  55.         end
  56.     end
  57.     ReportCPU("Mage fire single")
  58. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top