From 065e7c92739e0df17eb0ebd1a385fecd5b8b4b7d Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 23 Oct 2011 14:08:38 +0000 Subject: [PATCH] Step Up gives movement speed instead of global speed git-svn-id: http://svn.net-core.org/repos/t-engine4@4586 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/timed_effects/physical.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/data/timed_effects/physical.lua b/game/modules/tome/data/timed_effects/physical.lua index f607e5d402..9d34085021 100644 --- a/game/modules/tome/data/timed_effects/physical.lua +++ b/game/modules/tome/data/timed_effects/physical.lua @@ -860,13 +860,13 @@ newEffect{ on_lose = function(self, err) return "#Target# slows down.", "-Step Up" end, activate = function(self, eff) eff.tmpid = self:addTemporaryValue("step_up", 1) - eff.moveid = self:addTemporaryValue("global_speed_add", eff.power/100) + eff.moveid = self:addTemporaryValue("movement_speed", eff.power/100) if self.ai_state then eff.aiid = self:addTemporaryValue("ai_state", {no_talents=1}) end -- Make AI not use talents while using it end, deactivate = function(self, eff) self:removeTemporaryValue("step_up", eff.tmpid) if eff.aiid then self:removeTemporaryValue("ai_state", eff.aiid) end - self:removeTemporaryValue("global_speed_add", eff.moveid) + self:removeTemporaryValue("movement_speed", eff.moveid) end, } -- GitLab