Scoreboard:
I think I fixed AoE magic damage message, I changed the 265 id to 264. Pet AoE is still wrong and maybe other AoEs, I only tested black magic
Code:
elseif category == 'spell_finish' then
for target in action:get_targets() do
for subaction in target:get_actions() do
if T{2, 252, 264, 650}:contains(subaction.message) then
dps_db:add_damage(target:get_name(), CreatePlayerName(action), subaction.param)
end
end
end
I also added a function to append pet owners name to pets so you can tell the difference.
Shiva will now be Shiva (Name)
I also changed actions.lua to get the actor_id out, there's probably better way of doing it but this is the first time I've looked at any of this and these were the quick fix solutions ;p
My updated Scoreboard: http://pastebin.com/1aKmsHHC
My updated actions.lua: http://pastebin.com/asTXwycK