不知道什么时候帮朋友写过这个宏,无意间翻出来就留下记录,没什么难点也没什么特点。。。
/script local ZFID=GetSpellIndex("责罚") if not UnitExists("target") or UnitIsDeadOrGhost("target") then TargetNearestEnemy() end if GetSpellCooldown(ZFID,"spell") then CastSpellByName("责罚",1) elseif not IsBuffActive("纯净火焰") then CastSpellByName("神圣之火") else CastSpellByName("惩击") end