Hi, I was looking through the code on the debuffed addon and can't seem to find where the spells are listed for display here. I'm trying to add support for a few of the blu spells, stuff like Barbed crescent, Paralyzing triad, Saurian Slide, Embalming earth, etc. that don't show up, but are usable debuffs. Does anyone know how to add these?
Its likely possible to add manually but its impossible to tell if its landed since its not conveyed like regular debuffs. Same issue for pets/player debuff ws'
It's based off the windower/res/spells.lua file. Lines ~180:210 in debuffed.lua is the relevant section.
Code
function inc_action(act)
if act.category ~= 4 then
if act.category == 6 and act.param == 131 then
handle_shot(act.targets[1].id)
end
return
end
-- Damaging spells
if S{2,252}:contains(act.targets[1].actions[1].message) then
local target = act.targets[1].id
local spell = act.param
local effect = res.spells[spell].status
local actor = act.actor_id
if effect then
apply_debuff(target, effect, spell, actor)
end
-- Non-damaging spells
elseif S{236,237,268,271}:contains(act.targets[1].actions[1].message) then
local target = act.targets[1].id
local effect = act.targets[1].actions[1].param
local spell = act.param
local actor = act.actor_id
if res.spells[spell].status and res.spells[spell].status == effect then
apply_debuff(target, effect, spell, actor)
end
end
end
Sample debuff lines from spells.lua for everything that applies paralyze (note, "status=4" on all lines):
Hi, I was looking through the code on the debuffed addon and can't seem to find where the spells are listed for display here. I'm trying to add support for a few of the blu spells, stuff like Barbed crescent, Paralyzing triad, Saurian Slide, Embalming earth, etc. that don't show up, but are usable debuffs. Does anyone know how to add these?