so it seems i got the hang of it
Code:
if (field[gUserEquip].value = 1) then
if (field[trkUser].value = 1) then
hero.child[ArmorClass].field[tACArmor].value -= 1
endif
endif
if (field[gUserEquip].value = 1) then
if (field[trkUser].value = 2) then
hero.child[ArmorClass].field[tACArmor].value -= 2
endif
endif
can be boiled down to
Code:
if (field[gUserEquip].value = 1) then
hero.child[ArmorClass].field[tACArmor].value -= field[trkUser].value
endif
@mathias thanks for letting lose some clue's
(better then the straight up answer) took me a while but we have results!