Skip to content
Snippets Groups Projects
Commit d089731d authored by dg's avatar dg
Browse files

slow

git-svn-id: http://svn.net-core.org/repos/t-engine4@2960 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1965ac4d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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