Increase to attack with Rampage->Instincts is broken

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Increase to attack with Rampage->Instincts is broken

#1 Post by yufra »

The current code is:

Code: Select all

		if eff.attack or 0 > 0 then eff.attackId = self:addTemporaryValue("combat_atk", self.combat_atk * eff.attack * 0.01) end
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.
<DarkGod> lets say it's intended

Post Reply