willuwontu |
September 26th, 2014 08:58 AM |
Can't get weapon die bonus to show
Code:
The Magehunter gains a +1 bonus on all attack rolls against creatures capable of casting spells and creatures possessing one or more spell-like abilities.
They also deal an additional 1d8 points of damage on a successful hit made against creatures capable of casting spells or possessing spell-like abilities.
The bonuses to attack rolls increase by +1 every odd level after first. The bonus damage increases by +1d8 every four levels after level 1.
Code:
Phase: Post-attributes Priority: 14000
~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)
doneif (field[abilActive].value = 0)
var text as string
text = signed(round(field[xIndex].value/2,0,-1)+1) & "d8"
foreach pick in hero from BaseWep where ""
#extradamage[eachpick,text,field[name].text]
nexteach
hero.child[Attack].field[Bonus].value += field[xCount].value
So right now I have this as an activated ability and the attack bonus is applying correctly, However I can't seem to get the extra damage to show up on my hero's weapons. Any ideas on what I'm screwing up this time?
|