From e4521bfce5c313682ad6dbef7d2ebf32bf14b4ef Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Wed, 6 Jul 2011 10:51:36 +0000
Subject: [PATCH]                                                   plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@3818 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/Actor.lua                    | 12 ++----------
 .../modules/tome/data/general/npcs/aquatic_demon.lua |  1 +
 game/modules/tome/data/talents/spells/arcane.lua     |  2 +-
 3 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index a83b6f85ae..7bc61c31d1 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -361,14 +361,6 @@ function _M:act()
 		end
 	end
 
-	-- Auto stealth?
-	if self:isTalentActive(self.T_AUTOMATIC_STEALTH) and not self:isTalentActive(self.T_STEALTH) then
-		local t = self:getTalentFromId(self.T_STEALTH)
-		if self:preUseTalent(t, true, true) and not self:isTalentCoolingDown(t) then
-			self:useTalent(self.T_STEALTH)
-		end
-	end
-
 	if self:attr("paralyzed") then
 		self.paralyzed_counter = (self.paralyzed_counter or 0) + (self:attr("stun_immune") or 0) * 100
 		if self.paralyzed_counter < 100 then
@@ -1009,7 +1001,7 @@ function _M:onTakeHit(value, src)
 			self:forceUseTalent(self.T_DISRUPTION_SHIELD, {ignore_energy=true})
 
 			-- Explode!
-			game.logSeen(self, "%s disruption shield collapses and then explodes in a powerful manastorm!", self.name:capitalize())
+			game.logSeen(self, "%s's disruption shield collapses and then explodes in a powerful manastorm!", self.name:capitalize())
 			local tg = {type="ball", radius=5}
 			self:project(tg, self.x, self.y, DamageType.ARCANE, dam, {type="manathrust"})
 		end
@@ -2566,7 +2558,7 @@ function _M:canSeeNoCache(actor, def, def_pct)
 
 	-- Check for stealth. Checks against the target cunning and level
 	if actor:attr("stealth") and actor ~= self then
-		local def = self.level / 2 + self:getCun(25) + (self:attr("see_stealth") or 0)
+		local def = self.level / 2 + self:getCun(25, true) + (self:attr("see_stealth") or 0)
 		local hit, chance = self:checkHit(def, actor:attr("stealth") + (actor:attr("inc_stealth") or 0), 0, 100)
 		if not hit then
 			return false, chance
diff --git a/game/modules/tome/data/general/npcs/aquatic_demon.lua b/game/modules/tome/data/general/npcs/aquatic_demon.lua
index 9c876c469b..7089ab9901 100644
--- a/game/modules/tome/data/general/npcs/aquatic_demon.lua
+++ b/game/modules/tome/data/general/npcs/aquatic_demon.lua
@@ -43,6 +43,7 @@ newEntity{
 
 newEntity{ base = "BASE_NPC_AQUATIC_DEMON",
 	name = "water imp", color=colors.YELLOW_GREEN,
+	display = "u",
 	desc = "A small water demon, lobbing spells at you.",
 	level_range = {10, nil}, exp_worth = 1,
 	rarity = 1,
diff --git a/game/modules/tome/data/talents/spells/arcane.lua b/game/modules/tome/data/talents/spells/arcane.lua
index 4eaec45237..2e8744b039 100644
--- a/game/modules/tome/data/talents/spells/arcane.lua
+++ b/game/modules/tome/data/talents/spells/arcane.lua
@@ -143,7 +143,7 @@ newTalent{
 	info = function(self, t)
 		local power = t.getManaRatio(self, t)
 		return ([[Uses mana instead of life to take damage. Uses %0.2f mana per damage point taken.
-		If your mana is brought too low by the shield, it will de-activate and the chain reaction will release a deadly arcane explosion of the amount of damage absorbed.
+		If your mana is brought too low by the shield, it will de-activate and the chain reaction will release a deadly arcane explosion with radius 5 of the amount of damage absorbed.
 		The damage to mana ratio increases with the Magic stat]]):
 		format(power)
 	end,
-- 
GitLab