I am trying to implement a house rule subrace in 5e where the race sets your Dex score at 14 if it isn't there already. (We use reincarnation so dumping Dex and taking this race is not a concern). This means if you have an 8 Dex, it becomes 14 (post reincarnation) but if you have a 15 nothing happens. I cannot for the life of me figure out how to set a minimum like this and I could use a hand or direction.
Can someone help me out?
I have:
if (hero.child[aDEX].field[Bonus].value < 14) then
hero.child[aDEX].field[Bonus].value = 14
endif
This is adding 16 to all CHA scores period, and I don't see why...
Can someone help me out?
I have:
if (hero.child[aDEX].field[Bonus].value < 14) then
hero.child[aDEX].field[Bonus].value = 14
endif
This is adding 16 to all CHA scores period, and I don't see why...
Last edited: