Skip to content
Snippets Groups Projects
Commit 8e38c8dd authored by DarkGod's avatar DarkGod
Browse files

woops

parent e30b0ee0
No related branches found
No related tags found
No related merge requests found
......@@ -443,7 +443,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
evaded = true
self:logCombat(target, "#Target# evades #Source#.")
elseif not self.turn_procs.auto_melee_hit and self:attr("hit_penalty_2h") and rng.percent(20 - (self.size_category - 4) * 5) then
self:logCombat(target, "#Source# misses #Target# TOTO.")
self:logCombat(target, "#Source# misses #Target#.")
target:fireTalentCheck("callbackOnMeleeMiss", self, dam)
elseif self.turn_procs.auto_melee_hit or (self:checkHit(atk, def) and (self:canSee(target) or self:attr("blind_fight") or target:attr("blind_fighted") or rng.chance(3))) then
local pres = util.bound(target:combatArmorHardiness() / 100, 0, 1)
......
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