From d089731d125ef145d237cc663964fbae6bcb2c0a Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Mon, 7 Mar 2011 13:55:23 +0000
Subject: [PATCH] slow

git-svn-id: http://svn.net-core.org/repos/t-engine4@2960 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Actor.lua | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index cd7b987f52..8c38166275 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -301,10 +301,9 @@ function _M:act()
 
 	-- We compute turns at "default" speed, and only fire some actions when chaning turn
 	local actturn = math.floor(game.turn / 10)
-	if not self.last_act_turn or self.last_act_turn < actturn then
-		self:actTurn()
-		self.last_act_turn = actturn
-	end
+	if not self.last_act_turn then self.last_act_turn = actturn - 1 end
+	for i = 1, actturn - self.last_act_turn do self:actTurn() end
+	self.last_act_turn = actturn
 
 	-- Conduit talent prevents all auras from cooling down
 	if self:isTalentActive(self.T_CONDUIT) then
-- 
GitLab