We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f5ad27 commit 091c062Copy full SHA for 091c062
1 file changed
full-heal.lua
@@ -25,7 +25,7 @@ the corpse - creepy!
25
26
local utils = require('utils')
27
28
-validArgs = utils.invert({
+validArgs = validArgs or utils.invert({
29
'r',
30
'help',
31
'unit',
@@ -54,7 +54,7 @@ end
54
55
if unit then
56
if args.r then
57
- if unit.flags1.dead then
+ if unit.flags2.killed then
58
--print("Resurrecting...")
59
unit.flags2.slaughter = false
60
unit.flags3.scuttle = false
@@ -187,7 +187,7 @@ if unit then
187
--print("Clearing historical wounds...")
188
histFig.info.wounds = nil
189
end
190
-
+
191
local health = unit.health
192
if health then
193
for i = 0, #health.flags-1,1 do
0 commit comments