So I am entering an archetype for the alchemist that allows them to craft and maintain devices with a GP value based on their level. I managed to get that script working perfectly. What I'm trying to do now is add a feat that will increase the level by 1 when chosen. I tried looking at Boon Companion (the only feat I can think of that does this) but I think that the script is more complex than I want. What I thought about doing was to have the new feat just replace the old ability. I can't get it to compile and I'm not sure why. I simply did a cut and paste then adjusted the values to be what I want them to be.
Spagyric Device gp limit Script:
Extra Devices Script:
Spagyric Device gp limit Script:
if (field[xCount].value >= 20) then
field[livename].text = "Spagyric device limit 293,250 gp"
elseif (field[xCount].value = 19) then
field[livename].text = "Spagyric device limit 228,250 gp"
elseif (field[xCount].value = 18) then
field[livename].text = "Spagyric device limit 176,500 gp"
elseif (field[xCount].value = 17) then
field[livename].text = "Spagyric device limit 136,500 gp"
elseif (field[xCount].value = 16) then
field[livename].text = "Spagyric device limit 105,000 gp"
elseif (field[xCount].value = 15) then
field[livename].text = "Spagyric device limit 80,000 gp"
elseif (field[xCount].value = 14) then
field[livename].text = "Spagyric device limit 61,500 gp"
elseif (field[xCount].value = 13) then
field[livename].text = "Spagyric device limit 46,600 gp"
elseif (field[xCount].value = 12) then
field[livename].text = "Spagyric device limit 36,000 gp"
elseif (field[xCount].value = 11) then
field[livename].text = "Spagyric device limit 27,350 gp"
elseif (field[xCount].value = 10) then
field[livename].text = "Spagyric device limit 20,700 gp"
elseif (field[xCount].value = 9) then
field[livename].text = "Spagyric device limit 15,3500 gp"
elseif (field[xCount].value = 8) then
field[livename].text = "Spagyric device limit 11,000 gp"
elseif (field[xCount].value = 7) then
field[livename].text = "Spagyric device limit 7,800 gp"
elseif (field[xCount].value = 6) then
field[livename].text = "Spagyric device limit 5,350 gp"
elseif (field[xCount].value = 5) then
field[livename].text = "Spagyric device limit 3,500 gp"
elseif (field[xCount].value = 4) then
field[livename].text = "Spagyric device limit 2,000 gp"
elseif (field[xCount].value = 3) then
field[livename].text = "Spagyric device limit 1,000 gp"
elseif (field[xCount].value = 2) then
field[livename].text = "Spagyric device limit 500 gp"
elseif (field[xCount].value = 1) then
field[livename].text = "Spagyric device limit 250gp"
endif
Extra Devices Script:
if (field[xCount].value >= 20) then
field[livename].text = "Spagyric device limit 293,250
gp"
elseif (field[xCount].value = 19) then
field[livename].text = "Spagyric device limit 293,250
gp"
elseif (field[xCount].value = 18) then
field[livename].text = "Spagyric device limit 228,250
gp"
elseif (field[xCount].value = 17) then
field[livename].text = "Spagyric device limit 176,500
gp"
elseif (field[xCount].value = 16) then
field[livename].text = "Spagyric device limit 136,500
gp"
elseif (field[xCount].value = 15) then
field[livename].text = "Spagyric device limit 105,000
gp"
elseif (field[xCount].value = 14) then
field[livename].text = "Spagyric device limit 80,000 gp"
elseif (field[xCount].value = 13) then
field[livename].text = "Spagyric device limit 61,500 gp"
elseif (field[xCount].value = 12) then
field[livename].text = "Spagyric device limit 46,600 gp"
elseif (field[xCount].value = 11) then
field[livename].text = "Spagyric device limit 36,000 gp"
elseif (field[xCount].value = 10) then
field[livename].text = "Spagyric device limit 27,350 gp"
elseif (field[xCount].value = 9) then
field[livename].text = "Spagyric device limit 20,700 gp"
elseif (field[xCount].value = 8) then
field[livename].text = "Spagyric device limit 15,350 gp"
elseif (field[xCount].value = 7) then
field[livename].text = "Spagyric device limit 11,000 gp"
elseif (field[xCount].value = 6) then
field[livename].text = "Spagyric device limit 7,800 gp"
elseif (field[xCount].value = 5) then
field[livename].text = "Spagyric device limit 5,350 gp"
elseif (field[xCount].value = 4) then
field[livename].text = "Spagyric device limit 3,500 gp"
elseif (field[xCount].value = 3) then
field[livename].text = "Spagyric device limit 2,000 gp"
elseif (field[xCount].value = 2) then
field[livename].text = "Spagyric device limit 1,000 gp"
elseif (field[xCount].value = 1) then
field[livename].text = "Spagyric device limit 500gp"
endif