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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4674 51575b47-30f0-44d4-a5cc-537603b46e54
parent 2d777c0a
No related branches found
No related tags found
No related merge requests found
......@@ -457,11 +457,11 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
end
if lt and lt:checkHit(self:combatAttack(weapon), lt:combatPhysicalResist(), 0, 95, 10) and lt:canBe("knockback") then
lt:knockback(self.x, self.y, self:attr("onslaught"))
target:crossTierEffect(target.EFF_OFFBALANCE, src:combatAttack())
target:crossTierEffect(target.EFF_OFFBALANCE, self:combatAttack())
end
if rt and rt:checkHit(self:combatAttack(weapon), rt:combatPhysicalResist(), 0, 95, 10) and rt:canBe("knockback") then
rt:knockback(self.x, self.y, self:attr("onslaught"))
target:crossTierEffect(target.EFF_OFFBALANCE, src:combatAttack())
target:crossTierEffect(target.EFF_OFFBALANCE, self:combatAttack())
end
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