Fixes for Kel'Thuzad and Painsmith encounters

This commit is contained in:
Tercio Jose
2021-07-10 22:10:37 -03:00
parent 6f6d796134
commit caf27f4ff0
9 changed files with 356 additions and 65 deletions
+5 -2
View File
@@ -337,7 +337,7 @@
local tremove = _G.tremove
--delete an actor from the combat ~delete ~erase ~remove
function combate:DeleteActor(attribute, actorName, removeDamageTaken)
function combate:DeleteActor(attribute, actorName, removeDamageTaken, cannotRemap)
local container = self[attribute]
if (container) then
@@ -411,7 +411,10 @@
tremove(container._ActorTable, index)
--remap
container:Remap()
if (not cannotRemap) then
container:Remap()
end
return true
end
end
end