Okay, so I'm trying to recreate an old magic item from 3.5 that added to damage when you used Power Attack. Playing with things I came up with this script:
if (field[gIsEquip].value <> 0) then
~Add two damage if Power Attack is active
if (hero.childfound[fPowerAtt].field[abilActive].value <> 0) then
hero.child[Damage].field[tDamPower].value += 2
endif
endif
It almost works...but when using a weapon two-handed the bonus increases to +3. Obviously this isn't what I intended even if Power Attack itself scales like that. Played with some tags and such but can't seem to get it to work right. Any help would be greatly appreciated!
if (field[gIsEquip].value <> 0) then
~Add two damage if Power Attack is active
if (hero.childfound[fPowerAtt].field[abilActive].value <> 0) then
hero.child[Damage].field[tDamPower].value += 2
endif
endif
It almost works...but when using a weapon two-handed the bonus increases to +3. Obviously this isn't what I intended even if Power Attack itself scales like that. Played with some tags and such but can't seem to get it to work right. Any help would be greatly appreciated!