From de9f4f80f1f29dd9f9a0a83cbb7665fa5684005f Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Fri, 15 Mar 2013 09:42:03 +0000
Subject: [PATCH] Moss now use mindcrit for duration instead of spellcrit

git-svn-id: http://svn.net-core.org/repos/t-engine4@6562 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Game.lua              | 1 +
 game/modules/tome/data/talents/gifts/moss.lua | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/game/modules/tome/class/Game.lua b/game/modules/tome/class/Game.lua
index 0a88bccef7..f0ed6ff517 100644
--- a/game/modules/tome/class/Game.lua
+++ b/game/modules/tome/class/Game.lua
@@ -2016,6 +2016,7 @@ unlocks_list = {
 
 	wilder_wyrmic = "Class: Wyrmic",
 	wilder_summoner = "Class: Summoner",
+	wilder_oozemancer = "Class: Oozemancer",
 
 	corrupter_reaver = "Class: Reaver",
 	corrupter_corruptor = "Class: Corruptor",
diff --git a/game/modules/tome/data/talents/gifts/moss.lua b/game/modules/tome/data/talents/gifts/moss.lua
index 31c2fb30be..7ec1e6423a 100644
--- a/game/modules/tome/data/talents/gifts/moss.lua
+++ b/game/modules/tome/data/talents/gifts/moss.lua
@@ -48,7 +48,7 @@ newTalent{
 	action = function(self, t)
 		-- Add a lasting map effect
 		game.level.map:addEffect(self,
-			self.x, self.y, self:spellCrit(t.getDuration(self, t)),
+			self.x, self.y, self:mindCrit(t.getDuration(self, t)),
 			DamageType.GRASPING_MOSS, {dam=self:mindCrit(t.getDamage(self, t)), pin=t.getPin(self, t), slow=t.getSlow(self, t)},
 			self:getTalentRadius(t),
 			5, nil,
@@ -97,7 +97,7 @@ newTalent{
 	action = function(self, t)
 		-- Add a lasting map effect
 		game.level.map:addEffect(self,
-			self.x, self.y, self:spellCrit(t.getDuration(self, t)),
+			self.x, self.y, self:mindCrit(t.getDuration(self, t)),
 			DamageType.NOURISHING_MOSS, {dam=self:mindCrit(t.getDamage(self, t)), factor=t.getHeal(self, t)/100},
 			self:getTalentRadius(t),
 			5, nil,
@@ -145,7 +145,7 @@ newTalent{
 	action = function(self, t)
 		-- Add a lasting map effect
 		game.level.map:addEffect(self,
-			self.x, self.y, self:spellCrit(t.getDuration(self, t)),
+			self.x, self.y, self:mindCrit(t.getDuration(self, t)),
 			DamageType.SLIPPERY_MOSS, {dam=self:mindCrit(t.getDamage(self, t)), fail=t.getFail(self, t)},
 			self:getTalentRadius(t),
 			5, nil,
@@ -194,7 +194,7 @@ newTalent{
 	action = function(self, t)
 		-- Add a lasting map effect
 		game.level.map:addEffect(self,
-			self.x, self.y, self:spellCrit(t.getDuration(self, t)),
+			self.x, self.y, self:mindCrit(t.getDuration(self, t)),
 			DamageType.HALLUCINOGENIC_MOSS, {dam=self:mindCrit(t.getDamage(self, t)), chance=t.getChance(self, t), power=t.getPower(self, t)},
 			self:getTalentRadius(t),
 			5, nil,
-- 
GitLab