From ab471f9a6afdc45bf85963f91fc1f814f99e7071 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Sun, 31 Mar 2013 12:20:03 +0000
Subject: [PATCH] Off-balance reduces damage by 15% instead of global speed

git-svn-id: http://svn.net-core.org/repos/t-engine4@6608 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/timed_effects/physical.lua | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/game/modules/tome/data/timed_effects/physical.lua b/game/modules/tome/data/timed_effects/physical.lua
index d8224dc03e..3a922187e4 100644
--- a/game/modules/tome/data/timed_effects/physical.lua
+++ b/game/modules/tome/data/timed_effects/physical.lua
@@ -1442,7 +1442,7 @@ newEffect{
 newEffect{
 	name = "OFFBALANCE",
 	desc = "Off-balance",
-	long_desc = function(self, eff) return ("Badly off balance. Global speed is reduced by 15%.") end,
+	long_desc = function(self, eff) return ("Badly off balance. Global damage is reduced by 15%.") end,
 	type = "physical",
 	subtype = { ["cross tier"]=true },
 	status = "detrimental",
@@ -1450,10 +1450,10 @@ newEffect{
 	on_gain = function(self, err) return nil, "+Off-balance" end,
 	on_lose = function(self, err) return nil, "-Off-balance" end,
 	activate = function(self, eff)
-		eff.speedid = self:addTemporaryValue("global_speed_add", -0.15)
+		eff.speedid = self:addTemporaryValue("numbed", 15)
 	end,
 	deactivate = function(self, eff)
-		self:removeTemporaryValue("global_speed_add", eff.speedid)
+		self:removeTemporaryValue("numbed", eff.speedid)
 	end,
 }
 
-- 
GitLab