No more damage done for mobs that doesn't award points

This commit is contained in:
Tercio Jose
2021-10-20 15:28:08 -03:00
parent d905a0d38f
commit d1c06a262c
5 changed files with 61 additions and 74 deletions
+4 -1
View File
@@ -326,12 +326,15 @@
end
return table1 [4] < table2 [4]
end
--[[exported]] function Details:GetBarColor (actor)
actor = actor or self
if (actor.monster) then
return _unpack (Details.class_colors.ENEMY)
elseif (actor.customColor) then
return unpack(actor.customColor)
elseif (actor.spellicon) then
return 0.729, 0.917, 1