[b43] +1 Rampage duration on crit not checking Brutality
Posted: Fri Dec 14, 2012 1:10 am
From Combat.lua
Either add a check for Brutality or move the effect into the Rampage talent.
Code: Select all
-- 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
game.logPlayer(self, "#F53CBE#Your rampage is invigorated by your fierce attack! (+1 duration)")
eff.critHit = true
eff.actualDuration = eff.actualDuration + 1
eff.dur = eff.dur + 1
end
end