经过这段时间学习各大神们的宏,把自己的宏做了一些改进∶
①16位buff的问题,选择使用IsBuffActive函数即可完美解决
②新增加了平砍结束后十字军审判追刀,不打正义审判,命令流或者无特效的pvp服同志可自行更改
③十字军打击也根据平砍时间释放,避免浪费风怒
④切目标时审判CD,不再傻傻切智慧圣印等审判,会一直保持正义,只到审判cs到秒切智慧圣印打审判
⑤怪血量低于10000才会打智慧审判,避免A小怪阶段目标频繁打智慧费蓝
⑤十字军打击我没有使用自动叠五层的宏,因为打小怪阶段等你叠完就死了,下个继续叠满级,全程续航太差
新宏如下∶
/script if not buffed("智慧审判","target") and UnitHealth("target")>10000 and SpellReady("审判") and not IsBuffActive("智慧圣印", "player") then cast("智慧圣印");end
/script if buffed("智慧审判","target") and SpellReady("审判") and IsBuffActive("十字军圣印", "player") then cast ("审判");end
/script if SpellReady("审判") and GetTime()-替换此处 < 1.5 then cast("十字军圣印(等级 4)");end
/script if not IsBuffActive("圣印", "player") then cast("正义圣印");end
/script if not buffed("智慧审判","target") and IsBuffActive("智慧圣印", "player") and SpellReady("审判") then cast ("审判");end
/script if math.floor(UnitHealth("target")/UnitHealthMax("target")*100)<99 and SpellReady("神圣打击") then CastSpellByName("神圣打击") end
/script if GetTime()-替换此处 < 1.9 and SpellReady("奉献") then CastSpellByName(UnitMana("player") > 2500 and"奉献" or "奉献(等级 1)") end
/script if math.floor(UnitMana("player")/UnitManaMax("player")*100)>70 and GetTime()-替换此处 > 0.2 and GetTime()-替换此处 < 2 then CastSpellByName("十字军打击");else if math.floor(UnitMana("player")/UnitManaMax("player")*100)<=70 and GetTime()-替换此处 > 0.2 and GetTime()-替换此处 < 2 then CastSpellByName("十字军打击(等级 1)");end;end