Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mage_fire_single()
- if TankTarget("Gehennas") or TankTarget("Magmadar") then SelfBuff("Fire Ward") end
- if buffed("Living Bomb","player") then Follow_Dude(MB_bombfollow) end
- if not TargetInCombat() then cast("Pyroblast") end
- if not MB_My_cc_target and not IsCombustion() and MB_castingfrost and not MB_stopcasting then SpellStopCasting() MB_stopcasting=true end
- if ImBusy() then return ReportCPU("Mage fire single busy") end
- if MyManaPct()<.8 and InCombat() then RunLine("/use Mana Ruby") end
- if MyManaPct()<.8 and InCombat() then RunLine("/use Mana Citrine") end
- if MyManaPct()<.1 then RunLine("/use Major Mana Potion") end
- CC()
- Decurse()
- if not IAmFocus() then LockonTarget() end
- if MyManaPct()<.1 and not OnCooldown("Evocation") then cast("Evocation") end
- if MB_do_an_interrupt then cast(MB_INT_spell[myclass]) MB_do_an_interrupt=nil end
- if TargetInCombat() or IAmFocus() then
- 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
- if IsAltKeyDown() and not MB_My_cc_target and not (UnitName("target")=="Anubisath Sentinel" or UnitName("target")=="Anubisath Guardian") then SpellStopCasting() end
- if not IsAltKeyDown() then
- if UnitName("target")=="Ayamiss the Hunter" and (TargetHealthPct()<.73 and TargetHealthPct()>.69) then return end
- --if JindoBurn() then cast("Fire Blast") end
- if UnitName("target")=="Hive'Zara Larva" then
- cast("Scorch")
- end
- if Jindo() and UnitName("target")~="Jin'do the Hexxer" then
- if not OnCooldown("Fire Blast") then cast("Fire Blast") end
- if not OnCooldown("Blast Wave") and UnitName("target")=="Shade of Jin'do" then cast("Blast Wave") end
- cast("Scorch")
- end
- if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") then cast("Fire Blast") end
- if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") then cast("Scorch") end
- if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") and InMeleeRange() then cast("Blast Wave") end
- if UnitName("target")=="Spawn of Mar'li" and not UnitIsDead("target") and InMeleeRange() then cast("Arcane Explosion") end
- if (UnitName("target")=="Anubisath Guardian" or UnitName("target")=="Anubisath Sentinel") and buffed("Fire and Arcane Reflect","target") then
- cast("Frostbolt")
- end
- if UnitName("target")=="Azuregos" then
- if buffed("Magic Shield","target") then SpellStopCasting() return end
- cast("Scorch")
- SelfBuff("Frost Ward")
- end
- if FireResistant() then
- cast("Frostbolt")
- else
- if UnitLevel("player")<60 then
- --if SpellExists("Scorch") then StackCast("Scorch",5) end
- cast("Fireball")
- else
- RollingIgnite()
- end
- end
- end
- end
- ReportCPU("Mage fire single")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement