I use this script to stop whatever i am currently casting, target the unit under my mouse cursor (but NOT my current target) cast my counterspell on it and i never lose my orginal target /script SpellStopCasting(); /script if UnitName("target") then local n=UnitName("target") TargetUnit("mouseover") CastSpellByName("Counterspell") TargetByName(n) else TargetUnit("mouseover") CastSpellByName("Counterspell") end;
This pops my insta-cast spell ability, then stops the casting animation, and hits my AE /cast Presence of Mind /script SpellStopCasting(); /cast Flamestrike(Rank 6)
This is great, arcane missles are "channeled" sometimes i get carried away and hit it before its done casting This prevents that from happening for this one spell, so i can still interrupt with others. /script if not CastingBarFrame.channeling then CastSpellByName("Arcane Missiles(Rank 7)"); end;
This just casts my cone of cold, the icon looks too much like the other 3 ice icons so i used the script to get a new icon /cast Cone of Cold(Rank 5)
This is my decruse script. If i have a target i decurse it, if i don't i run ct_raid's decurser /script if UnitName("target") then CastSpellByName("Remove Lesser Curse"); end /racure
This uses my max rank frost nova if i have the power, otherwise it uses my lowest rank /script if ((UnitMana("player"))<145) then CastSpellByName("Frost Nova(Rank 1)");end /script if ((UnitMana("player"))>=145) then CastSpellByName("Frost Nova(Rank 4)");end
this uses my bandaid in slot 1, and dosn't lose my current target. /script UseContainerItem(0,1); /script TargetUnit("player"); /script TargetLastEnemy();
If my power is under 2000 i hit my 2 items for power and my mana ruby in slot #2 if my power is OVER 2000 i summmon a mana ruby /script if ((UnitMana("player")) < 2000) then UseInventoryItem(GetInventorySlotInfo("SecondaryHandSlot")); UseInventoryItem(GetInventorySlotInfo("Trinket1Slot")) UseContainerItem(0,2) else CastSpellByName("Conjure Mana Ruby"); end
this is my "I win button". It lets me instantcast my pyroblast with +35% damage, and then beserks for followup shots /cast Presence of Mind /script SpellStopCasting(); /cast Arcane Power /script SpellStopCasting(); /cast Pyroblast(Rank 8) /script SpellStopCasting(); /cast Berserking(Racial)
Another channeling interrupt protector, so i don't break this 10m cast /script if not CastingBarFrame.channeling then CastSpellByName("Evocation"); end;
This is for my "shepard" addon i run, thats all /SheepTarget