if (field[trkUser].value = 1) then
hero.child[ArmorClass].field[tACArmor].value -= 1
endif
if (field[trkUser].value = 2) then
hero.child[ArmorClass].field[tACArmor].value -= 2
endif
seems to be the right script (i picked the wrong phase at first that's why it didn't worked correctly, i put it on final phase now), although i need to find a way that the above script doesn't run when the item is not equipped.
so the next question is how to combine two if statements >.<
if (field[gIsEquip].value = 1) then
|