From 1ce7a4f232edb7fc798b7575447f074ad8b24788 Mon Sep 17 00:00:00 2001 From: Alexander Sedov <alex0player@gmail.com> Date: Sun, 11 Jan 2015 15:45:46 +0300 Subject: [PATCH] Summon_time on players to tick down once per turn, not once per action. --- game/modules/tome/class/Player.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua index 3415b276d8..80e0b84f9c 100644 --- a/game/modules/tome/class/Player.lua +++ b/game/modules/tome/class/Player.lua @@ -336,8 +336,8 @@ function _M:move(x, y, force) return moved end -function _M:act() - if not mod.class.Actor.act(self) then return end +function _M:actBase() + mod.class.Actor.actBase(self) -- Run out of time ? if self.summon_time then @@ -348,6 +348,10 @@ function _M:act() return true end end +end + +function _M:act() + if not mod.class.Actor.act(self) then return end -- Funky shader things ! self:updateMainShader() -- GitLab