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

better

git-svn-id: http://svn.net-core.org/repos/t-engine4@5922 51575b47-30f0-44d4-a5cc-537603b46e54
parent b02879f4
No related branches found
No related tags found
No related merge requests found
......@@ -1256,6 +1256,11 @@ function _M:physicalCrit(dam, weapon, target, atk, def, add_chance, crit_power_a
local chance = self:combatCrit(weapon) + (add_chance or 0)
crit_power_add = crit_power_add or 0
if target:hasEffect(target.EFF_DISMAYED) then
chance = 100
end
local crit = false
if self:knowTalent(self.T_BACKSTAB) and target:attr("stunned") then chance = chance + self:getTalentLevel(self.T_BACKSTAB) * 10 end
......@@ -1271,10 +1276,6 @@ function _M:physicalCrit(dam, weapon, target, atk, def, add_chance, crit_power_a
chance = chance - target:combatCritReduction()
if target:hasEffect(target.EFF_DISMAYED) then
chance = 100
end
-- Scoundrel's Strategies
if self:attr("cut") and target:knowTalent(self.T_SCOUNDREL) then
chance = chance - (5 + (target:getTalentLevel(self.T_SCOUNDREL)*5))
......
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