Skip to content
Snippets Groups Projects
Commit 628540d0 authored by DarkGod's avatar DarkGod
Browse files

fix

parent 80e33012
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -65,7 +65,7 @@ newTalent{ ...@@ -65,7 +65,7 @@ newTalent{
act:setEffect(act.EFF_SLEEP, 4, {src=self, power=en, insomnia=en, no_ct_effect=true, apply_power=self:combatMindpower()}) act:setEffect(act.EFF_SLEEP, 4, {src=self, power=en, insomnia=en, no_ct_effect=true, apply_power=self:combatMindpower()})
game.level.map:particleEmitter(act.x, act.y, 1, "generic_charge", {rm=0, rM=0, gm=180, gM=255, bm=180, bM=255, am=35, aM=90}) game.level.map:particleEmitter(act.x, act.y, 1, "generic_charge", {rm=0, rM=0, gm=180, gM=255, bm=180, bM=255, am=35, aM=90})
else else
game.logSeen(self, "%s resists the sleep!", act.name:capitalize()) game.logSeen(self, "%s resists the sleep!", act:getName():capitalize())
end end
end end
end end
......
...@@ -118,7 +118,7 @@ newTalent{ ...@@ -118,7 +118,7 @@ newTalent{
-- Instakill critters -- Instakill critters
if act.rank <= 1 then if act.rank <= 1 then
if act:canBe("instakill") then if act:canBe("instakill") then
game.logSeen(act, "%s shatters!", act.name:capitalize()) game.logSeen(act, "%s shatters!", act:getName():capitalize())
act:die(self) act:die(self)
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment