From 58c9d1b5c9a89907cac8a748be2b6b2f2f1c4b66 Mon Sep 17 00:00:00 2001
From: DarkGod <darkgod@net-core.org>
Date: Thu, 29 May 2014 21:58:42 +0200
Subject: [PATCH] mucus does less stacking

---
 game/modules/tome/data/damage_types.lua        | 2 +-
 game/modules/tome/data/talents/gifts/mucus.lua | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/game/modules/tome/data/damage_types.lua b/game/modules/tome/data/damage_types.lua
index 429fd9043b..6e8785af3a 100644
--- a/game/modules/tome/data/damage_types.lua
+++ b/game/modules/tome/data/damage_types.lua
@@ -3145,7 +3145,7 @@ newDamageType{
 					src:incEquilibrium(-(dam.equi or 1))
 				end
 			elseif target:canBe("poison") then
-				target:setEffect(target.EFF_POISONED, 5, {src=src, power=dam.dam, apply_power=src:combatMindpower()})
+				target:setEffect(target.EFF_POISONED, 5, {src=src, power=dam.dam, max_power = dam.dam*5, apply_power=src:combatMindpower()})
 			end
 		elseif not target and not src.turn_procs.living_mucus and src:knowTalent(src.T_LIVING_MUCUS) and game.zone and not game.zone.wilderness then
 			src.turn_procs.living_mucus = true
diff --git a/game/modules/tome/data/talents/gifts/mucus.lua b/game/modules/tome/data/talents/gifts/mucus.lua
index c932d0d80a..c2c92a6376 100644
--- a/game/modules/tome/data/talents/gifts/mucus.lua
+++ b/game/modules/tome/data/talents/gifts/mucus.lua
@@ -58,10 +58,10 @@ newTalent{
 			end
 		else
 			if oldmucus.duration > 0 then -- Enhance existing mucus
-				oldmucus.duration = oldmucus.duration + 1
+				oldmucus.duration = t.getDur(self, t)
 				oldmucus.dam.bonus_level = oldmucus.dam.bonus_level + 1
 				oldmucus.dam.self_equi = oldmucus.dam.self_equi + 1
-				oldmucus.dam.dam = t.getDamage(self, t) * (1+ self:combatTalentScale(oldmucus.dam.bonus_level, 0.25, 0.7))
+				oldmucus.dam.dam = t.getDamage(self, t) * (1+ self:combatTalentLimit(oldmucus.dam.bonus_level, 1, 0.25, 0.7)) -- Limit < 2x damage
 			end
 		end
 	end,
@@ -79,7 +79,7 @@ newTalent{
 		At talent level 4 or greater, the mucus will expand to a radius 1 area from where it is placed.
 		Your mucus will poison all foes crossing it, dealing %0.1f nature damage every turn for 5 turns (stacking).
 		In addition, each turn, you will restore %0.1f Equilibrium while in your own mucus, and other friendly creatures in your mucus will restore 1 Equilibrium both for you and for themselves.
-		The Poison damage and Equilibrium regeneration increase with Mindpower, and laying down more mucus in the same spot will intensify its effects and extend its duration by 1 turn.]]):
+		The Poison damage and Equilibrium regeneration increase with your Mindpower, and laying down more mucus in the same spot will intensify its effects and refresh its duration.]]):
 		format(dur, dur, damDesc(self, DamageType.NATURE, dam), equi)
 	end,
 }
-- 
GitLab