I am currently attempting to port the Spellthief from 3.5 to PF for a campaign I'll be running, and I'm attempting to make the Steal Energy Resistance class feature. This feature says the character can steal 10pts at Lv3, 20pts at Lv11, and 30pts at Lv19.
What I'm unsure of is how to make my script reference the character's amount of levels to determine which amount abValue should be set to. This is my first time really working within this Editor and the script is a bit unfamiliar, so bear with me.
If anyone could point me in the right direction, or explain where I'm going wrong, I'd appreciate it!
What I'm unsure of is how to make my script reference the character's amount of levels to determine which amount abValue should be set to. This is my first time really working within this Editor and the script is a bit unfamiliar, so bear with me.
Code:
if (field[xAllLev].value >= 3)
field[abValue].value += 10
elseif field(class.cHelpSPL) >=11
field[abValue].value += 20
elseif field[cSplthf].ClassLev >= 19
field[abValue].value += 30
done
If anyone could point me in the right direction, or explain where I'm going wrong, I'd appreciate it!