I am working on Elephant's Hide, a wild feat that sets the druid's natural armor to 7, which supercedes any natural armor they already have. This is the script I wrote.
Phase: PreLevels (Users) 11000
if (field[hIsOn1].value <> 0) then
if (hero.child[ArmorClass].field[tACNatural].value >= 7) then
done
else
hero.child[ArmorClass].field[tACNatural].value = 7
endif
endif
Unfortunately, rather than setting the natural armor to 7, it is adding 7... What is going wrong here?
Phase: PreLevels (Users) 11000
if (field[hIsOn1].value <> 0) then
if (hero.child[ArmorClass].field[tACNatural].value >= 7) then
done
else
hero.child[ArmorClass].field[tACNatural].value = 7
endif
endif
Unfortunately, rather than setting the natural armor to 7, it is adding 7... What is going wrong here?