From 9d4f670bda4de5b7a94b3846ea326dc0a050145e Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Fri, 17 Sep 2010 12:30:27 +0000
Subject: [PATCH] Shattering Impact talent will not damage the user anymore

git-svn-id: http://svn.net-core.org/repos/t-engine4@1240 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/class/interface/Combat.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/class/interface/Combat.lua b/game/modules/tome/class/interface/Combat.lua
index f652396eb5..13917f97dd 100644
--- a/game/modules/tome/class/interface/Combat.lua
+++ b/game/modules/tome/class/interface/Combat.lua
@@ -299,7 +299,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult)
 	-- Shattering Impact
 	if hitted and self:attr("shattering_impact") then
 		local dam = dam * self.shattering_impact
-		self:project({type="ball", radius=1}, target.x, target.y, DamageType.PHYSICAL, dam)
+		self:project({type="ball", radius=1, friendlyfire=false}, target.x, target.y, DamageType.PHYSICAL, dam)
 		self:incStamina(-15)
 	end
 
-- 
GitLab