From 7f0ca950c7acf40f93df46cf469e32629a22db57 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Tue, 1 May 2012 21:23:33 +0000
Subject: [PATCH] Shadow Ambush also dazes 2 turns

git-svn-id: http://svn.net-core.org/repos/t-engine4@5076 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/talents/cunning/ambush.lua | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/game/modules/tome/data/talents/cunning/ambush.lua b/game/modules/tome/data/talents/cunning/ambush.lua
index ebb581dec9..d6d1c97acf 100644
--- a/game/modules/tome/data/talents/cunning/ambush.lua
+++ b/game/modules/tome/data/talents/cunning/ambush.lua
@@ -79,6 +79,9 @@ newTalent{
 		target:move(sx, sy, true)
 
 		if core.fov.distance(self.x, self.y, sx, sy) <= 1 then
+			if target:canBe("stun") then
+				target:setEffect(target.EFF_DAZED, 2, {apply_power=self:combatAttack()})
+			end
 			if target:canBe("silence") then
 				target:setEffect(target.EFF_SILENCED, t.getDuration(self, t), {apply_power=self:combatAttack()})
 			else
@@ -90,7 +93,7 @@ newTalent{
 	end,
 	info = function(self, t)
 		local duration = t.getDuration(self, t)
-		return ([[You reach out with shadow vines toward your target, pulling it to you and silencing it for %d turns.
+		return ([[You reach out with shadow vines toward your target, pulling it to you and silencing it for %d turns and dazing it for 2 turns.
 		Duration increases with talent level and chance to succeed with your Dexterity stat.]]):
 		format(duration)
 	end,
-- 
GitLab