Increase to attack with Rampage->Instincts is broken
Posted: Thu Dec 02, 2010 5:41 pm
The current code is:
The problem is that self.combat_atk is actually just a base attack, which is zero for all players. I think you want self:combatAttack() which takes the Str/Dex/Luck modifiers as well as any weapon combat training.
Code: Select all
if eff.attack or 0 > 0 then eff.attackId = self:addTemporaryValue("combat_atk", self.combat_atk * eff.attack * 0.01) end