From 628540d0ebf9277bae689a2eed663e0d1a1b1d64 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Fri, 2 Oct 2020 14:54:14 +0200 Subject: [PATCH] fix --- game/modules/tome/data/talents/psionic/voracity.lua | 2 +- game/modules/tome/data/talents/spells/ice.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/data/talents/psionic/voracity.lua b/game/modules/tome/data/talents/psionic/voracity.lua index 9cce8d5483..c9835db6a4 100644 --- a/game/modules/tome/data/talents/psionic/voracity.lua +++ b/game/modules/tome/data/talents/psionic/voracity.lua @@ -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()}) 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 - game.logSeen(self, "%s resists the sleep!", act.name:capitalize()) + game.logSeen(self, "%s resists the sleep!", act:getName():capitalize()) end end end diff --git a/game/modules/tome/data/talents/spells/ice.lua b/game/modules/tome/data/talents/spells/ice.lua index 2240d3f5d0..bc2d0e48b2 100644 --- a/game/modules/tome/data/talents/spells/ice.lua +++ b/game/modules/tome/data/talents/spells/ice.lua @@ -118,7 +118,7 @@ newTalent{ -- Instakill critters if act.rank <= 1 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) end end -- GitLab