|
发表于 2016-12-29 21:55:06
|
显示全部楼层
/script function getlan(target) return UnitMana(target) end
/script function fjn(spell) CastSpellByName(spell) end
/script function print(text) DEFAULT_CHAT_FRAME:AddMessage(text) end
/script function sdot(dotname,spellname) local f = false for i=1,40,1 do a,b,c = UnitDebuff("target",i) if a and strfind(a,dotname) then f = true break end end if not f then fjn(spellname) end end
/script sdot("Ability_Gouge","撕裂")
/script if getlan("player") >= 30 then fjn("英勇打击") end/script function getlan(target) return UnitMana(target) end
/script function fjn(spell) CastSpellByName(spell) end
/script function print(text) DEFAULT_CHAT_FRAME:AddMessage(text) end
/script function sdot(dotname,spellname) local f = false for i=1,40,1 do a,b,c = UnitDebuff("target",i) if a and strfind(a,dotname) then f = true break end end if not f then fjn(spellname) end end
/script sdot("Ability_Gouge","撕裂")
/script if getlan("player") >= 30 then fjn("英勇打击") end/script function getlan(target) return UnitMana(target) end
/script function fjn(spell) CastSpellByName(spell) end
/script function print(text) DEFAULT_CHAT_FRAME:AddMessage(text) end
/script function sdot(dotname,spellname) local f = false for i=1,40,1 do a,b,c = UnitDebuff("target",i) if a and strfind(a,dotname) then f = true break end end if not f then fjn(spellname) end end
/script sdot("Ability_Gouge","撕裂")
/script if getlan("player") >= 30 then fjn("英勇打击") end/script function getlan(target) return UnitMana(target) end
/script function fjn(spell) CastSpellByName(spell) end
/script function print(text) DEFAULT_CHAT_FRAME:AddMessage(text) end
/script function sdot(dotname,spellname) local f = false for i=1,40,1 do a,b,c = UnitDebuff("target",i) if a and strfind(a,dotname) then f = true break end end if not f then fjn(spellname) end end
/script sdot("Ability_Gouge","撕裂")
/script if getlan("player") >= 30 then fjn("英勇打击") end |
|