I've got this customer expression:
and this script (so far):
I need to finish off those if statements (some something that works). I've had it working using an Array list, but I know there's gotta be something better than that. Aaron was trying to help me and I thought I had it, but I'm just not getting it to work.
Any help is always greatly appreciated.
Andrew
Code:
component.BaseClass & (thingid.cFighter|thingid.cBarbarian)
and this script (so far):
Code:
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
if (compare(field[usrChosen1].chosen.?????,*fighter*) = 0) then
field[abValue].value += round(field[xAllLev].value-2,0,-1)
~add that many fighter-counts-as tags to the hero
var i as number
for i = 1 to field[abValue].value
perform hero.assign[FtCountAs.Fighter]
next
elseif (compare(field[usrChosen1].chosen.?????,*barbarian*) = 0) then
#trkmax[cBbnRage] += (2 * round(field[xAllLev].value-2, 0, -1))
endif
I need to finish off those if statements (some something that works). I've had it working using an Array list, but I know there's gotta be something better than that. Aaron was trying to help me and I thought I had it, but I'm just not getting it to work.
Any help is always greatly appreciated.
Andrew