From 0fa1333c2da2420408731fdac9f962c172b542f3 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Thu, 18 Aug 2011 09:45:48 +0000 Subject: [PATCH] Reduced the speed bonus of Elemental Harmony git-svn-id: http://svn.net-core.org/repos/t-engine4@4180 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/talents/gifts/harmony.lua | 2 +- game/modules/tome/data/timed_effects.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/game/modules/tome/data/talents/gifts/harmony.lua b/game/modules/tome/data/talents/gifts/harmony.lua index eac28045c0..bb060803e7 100644 --- a/game/modules/tome/data/talents/gifts/harmony.lua +++ b/game/modules/tome/data/talents/gifts/harmony.lua @@ -78,7 +78,7 @@ newTalent{ info = function(self, t) local power = self:getTalentLevel(t) local turns = 5 + math.ceil(power) - local fire = 100 * (0.1 + power / 11) + local fire = 100 * (0.1 + power / 16) local cold = 3 + power * 2 local lightning = math.floor(power) local acid = 5 + power * 2 diff --git a/game/modules/tome/data/timed_effects.lua b/game/modules/tome/data/timed_effects.lua index 62359fbb86..73e3f7b32c 100644 --- a/game/modules/tome/data/timed_effects.lua +++ b/game/modules/tome/data/timed_effects.lua @@ -4086,7 +4086,7 @@ newEffect{ name = "ELEMENTAL_HARMONY", desc = "Elemental Harmony", long_desc = function(self, eff) - if eff.type == DamageType.FIRE then return ("Increases global speed by %d%%."):format(100 * (0.1 + eff.power / 11)) + if eff.type == DamageType.FIRE then return ("Increases global speed by %d%%."):format(100 * (0.1 + eff.power / 16)) elseif eff.type == DamageType.COLD then return ("Increases armour by %d."):format(3 + eff.power *2) elseif eff.type == DamageType.LIGHTNING then return ("Increases all stats by %d."):format(math.floor(eff.power)) elseif eff.type == DamageType.ACID then return ("Increases life regen by %0.2f%%."):format(5 + eff.power * 2) @@ -4098,7 +4098,7 @@ newEffect{ parameters = { }, activate = function(self, eff) if eff.type == DamageType.FIRE then - eff.tmpid = self:addTemporaryValue("global_speed", 0.1 + eff.power / 11) + eff.tmpid = self:addTemporaryValue("global_speed", 0.1 + eff.power / 16) elseif eff.type == DamageType.COLD then eff.tmpid = self:addTemporaryValue("combat_armor", 3 + eff.power * 2) elseif eff.type == DamageType.LIGHTNING then -- GitLab