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

Greater Weapon Focus procs are now logged

git-svn-id: http://svn.net-core.org/repos/t-engine4@3784 51575b47-30f0-44d4-a5cc-537603b46e54
parent ad644c62
No related branches found
No related tags found
No related merge requests found
......@@ -455,6 +455,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult)
local gwf = self:hasEffect(self.EFF_GREATER_WEAPON_FOCUS)
if hitted and not target.dead and gwf and not gwf.inside and rng.percent(gwf.chance) then
gwf.inside = true
game.logSeen(self, "%s focuses and gains an extra blow!", self.name:capitalize())
self:attackTargetWith(target, weapon, damtype, mult)
gwf.inside = nil
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