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

Golem: Pound does not hit the caster when mounted inside the golem

git-svn-id: http://svn.net-core.org/repos/t-engine4@1844 51575b47-30f0-44d4-a5cc-537603b46e54
parent de015f5e
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ newTalent{
-- Attack & daze
golem:project({type="ball", radius=2, friendlyfire=false}, tx, ty, function(xx, yy)
if xx == mover.x and yy == mover.y then return end
local target = game.level.map(xx, yy, Map.ACTOR)
if target and golem:attackTarget(target, nil, golem:combatTalentWeaponDamage(t, 0.4, 1.1), true) then
if target:checkHit(golem:combatAttackStr(), target:combatPhysicalResist(), 0, 95, 10 - self:getTalentLevel(t) / 2) and target:canBe("stun") then
......
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