Skip to content
Snippets Groups Projects
Commit 7bd5cc27 authored by DarkGod's avatar DarkGod
Browse files

fixed grip and backstab

parent 2458f78e
No related branches found
No related tags found
No related merge requests found
......@@ -711,7 +711,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
weapon.special_on_kill.fct(weapon, self, target)
end
if hitted and crit and not target.dead and self:knowTalent(self.T_BACKSTAB) and not target:attr("stunned") and rng.percent(self:callTalentLevel(self.T_BACKSTAB, "getStunChance")) then
if hitted and crit and not target.dead and self:knowTalent(self.T_BACKSTAB) and not target:attr("stunned") and rng.percent(self:callTalent(self.T_BACKSTAB, "getStunChance")) then
if target:canBe("stun") then
target:setEffect(target.EFF_STUNNED, 3, {apply_power=self:combatAttack()})
end
......
......@@ -153,6 +153,7 @@ newTalent{
require = psi_cun_high4,
points = 5,
mode = "passive",
getImmune = function(self, t) return self:combatTalentLimit(t, 1, 0.15, 0.50) end, -- Limit < 100%
stat_sub = function(self, t) -- called by _M:combatDamage in mod\class\interface\Combat.lua
return self:combatTalentScale(t, 0.64, 0.80)
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