Skip to content

Need simple dispel+cc on paladin rotation #436

@shikulja

Description

@shikulja

Since the rotation function Dispel paladin found. Please help find the normal operating function. in itself or not, a script looks very bad.
It is necessary to spell:
Cleanse
http://ru.wowhead.com/spell=4987

Emancipate
http://ru.wowhead.com/spell=121783

my scipt:

(working bad. use on not working debaff, many times and down mana)
local dispelTable = {"Очищение"} -- Cleanse
function hpala.dispel()
local cleanseTarget = nil -- jps.FindMeDispelTarget({"Poison"},{"Magic"},{"Disease"})
if jps.DispelMagicTarget() then
cleanseTarget = jps.DispelMagicTarget()
elseif jps.DispelPoisonTarget() then
cleanseTarget = jps.DispelPoisonTarget()
elseif jps.DispelDiseaseTarget() then
cleanseTarget = jps.DispelDiseaseTarget()
elseif jps.DispelFriendlyTarget() then
cleanseTarget = jps.DispelFriendlyTarget()
end
dispelTable[2] = cleanseTarget ~= nil and jps.dispelActive()
dispelTable[3] = cleanseTarget
return dispelTable
end
-- Dispels
hpala.dispel

(not working) need normal CC dispel code
"Emancipate"
{ "Освобождение" , jps.debuff("Ледяная ловушка", "Хватка земли" , "Ледяной заслон", "Кольцо льда", "Чуть не попался!", player) , player },


most of the problems of the lack of documentation, with examples. Most of the functions have to search manually in Lua.
Follow-up \ Offer - since Pandaria still relevant on private servers. maybe it's worth to separate into two branches, so as not to be confused and not to look for the required version, and change the version to which you want

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions