Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -130,7 +130,7 @@ newTalent{ |
130 | 130 | end, |
131 | 131 | callbackOnMeleeAttack = function(self, t, target, hitted, crit, weapon, damtype, mult, dam) |
132 | 132 | local dam = t.getDamage(self,t) |
133 | - if weapon.no_garrote then return end | |
133 | + if weapon and weapon.no_garrote then return end | |
134 | 134 | if target and not target.dead and self:isTalentActive(self.T_STEALTH) and not self:isTalentCoolingDown(t) and core.fov.distance(self.x, self.y, target.x, target.y) <= 1 then |
135 | 135 | self:startTalentCooldown(t) |
136 | 136 | -- check takes the place of normal melee hit chance | ... | ... |
-
Please register or login to post a comment