Skip to content
Snippets Groups Projects
Commit 9d4f670b authored by dg's avatar dg
Browse files

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
parent f4538e48
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment