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

Rampage Brutality is correctly checked for the bonus crit duration

git-svn-id: http://svn.net-core.org/repos/t-engine4@6151 51575b47-30f0-44d4-a5cc-537603b46e54
parent 7307b155
No related branches found
No related tags found
No related merge requests found
......@@ -797,7 +797,7 @@ function _M:attackTargetWith(target, weapon, damtype, mult, force_dam)
-- Rampage
if hitted and crit then
local eff = self:hasEffect(self.EFF_RAMPAGE)
if eff and not eff.critHit and eff.actualDuration < eff.maxDuration then
if eff and not eff.critHit and eff.actualDuration < eff.maxDuration and self:knowTalent(self.T_BRUTALITY) then
game.logPlayer(self, "#F53CBE#Your rampage is invigorated by your fierce attack! (+1 duration)")
eff.critHit = true
eff.actualDuration = eff.actualDuration + 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