Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions addons/battlemod/parse_action_packet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,26 @@ function parse_action_packet(act)
else m.simp_name = act.action.name or ''
end

-- Debuff Application Messages
if message_map[82]:contains(m.message) then
if m.status == 'Evasion Down' then
m.message = 237
end
if m.status == 'addle' then m.status = 'addled'
elseif m.status == 'bind' then m.status = 'bound'
elseif m.status == 'blindness' then m.status = 'blinded'
elseif m.status == 'Inundation' then m.status = 'inundated'
elseif m.status == 'paralysis' then m.status = 'paralyzed'
elseif m.status == 'petrification' then m.status = 'petrified'
elseif m.status == 'poison' then m.status = 'poisoned'
elseif m.status == 'silence' then m.status = 'silenced'
elseif m.status == 'sleep' then m.status = 'asleep'
elseif m.status == 'slow' then m.status = 'slowed'
elseif m.status == 'stun' then m.status = 'stunned'
elseif m.status == 'weight' then m.status = 'weighed down'
end
end

-- if m.message == 93 or m.message == 273 then m.status=color_it('Vanish',color_arr['statuscol']) end

-- Special Message Handling
Expand Down