Originally Posted by
Zooza
My affliction macro is running like a charm now, sometimes it doublecasts ''Unstable Affliction'', but in most cases it out-dps all other affliction warlocks with same gear
Heres the Code, may someone is able to fix the double-casting?
Warning! German Spellnames!
================================
But now theres a new Question.
Can someone say whats wrong with this Macro? Its just casting immolate and then spamming Incinerate???
Warning!! German Spellnames again!
wfg
Zooza
Assuming you're not going to cast Unstable Affliction twice for, lets say, 5 seconds, then using a castsequence that can't cast a spell will cancel it. Or using a castsequence that casts the next spell (to get rid of the 0.01 second not casting anything(lol)).
RunMacroText("/castsequence reset=5 Unstable Affliction, Moomoomoo") tries to cast moomoomoo after unstable affliction is cast which is a spell you haven't gotten. So won't work :P
You can also change 5 to any other amount of seconds you want it, or switch moomoomoo with corruption or something. Alot of ways to avoid doublecasting 
Edit: As for your second question. You're not ending your scripts properly, you're using more conditions than 1 in most of the lines so you'd need more ends as well.
Try this
Code:
/run if (UnitMana("Player")/UnitManaMax("Player"))*100 < 60 then CastSpellByName("Aderlass") end
/run if not UnitDebuff("target", "Feuerbrand", unitCaster~="player") then CastSpellByName("Feuerbrand"); SpellTargetUnit("target") end
/run if UnitHealth("Target") > 160000 and if UnitHealthMax("Target") < 5000000 and if not UnitDebuff("target", "Fluch der Elemente") then CastSpellByName("Fluch der Elemente") end end end
/run local _,c,_ = GetSpellCooldown("Fluch der verdammnis") if (c == 0) and if (UnitHealth("Target") > 5000000 and if not UnitDebuff("target","Fluch der Verdammnis", unitCaster~="player") then CastSpellByName("Fluch der Verdammnis") end end end end
/run local _,a,_ = GetSpellCooldown("Feuersbrunst") if (a == 0) and if UnitDebuff("target", "Feuerbrand", unitCaster~="player") then CastSpellByName("Feuersbrunst"); SpellTargetUnit("target") end end
/run local _,b,_ = GetSpellCooldown("Chaosblitz") if (b == 0) and if UnitDebuff("target", "Feuerbrand", unitCaster~="player") then CastSpellByName("Chaosblitz"); SpellTargetUnit("target") end end
/run if UnitDebuff("target", "Feuerbrand", unitCaster~="player") then CastSpellByName("Verbrennen"); SpellTargetUnit("target") end
/run if UnitAffectingCombat("player") then RunMacroText("/in 0.5 /run RunMacro(\"Destro1\")") end