javadragon
Well-known member
I am attempting to create a custom data file for a home brewed fantasy campaign setting for Savage Worlds. I am attempting to create a new edge called Fast Shot that will increase the ROF of the character's bow by 1. Unfortunately it appears that ROF is a text field and therefore my Eval Script:
does not work as I get the error:
I thought that all ROF's were integers until I looked at the core book and saw some ranges of "1-2". Is there a way that I can write some code to check the ROF field value and if it is a number then increment it by one? Or do I just need to make a note in my edge that the player needs to note this increase for themselves.
Code:
foreach pick in hero from WeapRange
~ TODO: need to look at weapon name for the word bow
eachpick.field[wpFireRate].value += 1
nexteach
Attempt to access text-based field 'wpFireRate' as a value.
I thought that all ROF's were integers until I looked at the core book and saw some ranges of "1-2". Is there a way that I can write some code to check the ROF field value and if it is a number then increment it by one? Or do I just need to make a note in my edge that the player needs to note this increase for themselves.