Quote:
Originally Posted by Mathias
Take another look at what you've written.
The first line says "add our level to our stored value".
The second line says "add half the bonus that's currently being applied to all skills to the stored value"
I think your second line is backwards, based on what you're describing - you want to add half your stored value to the bonus that's being applied to all skills.
|
Something like this?
Code:
~ Generate our level for bonus
field[abValue].value += field[xAllLev].value
#skillbonus[AllSkills] += round(field[abValue].value/2,0,-1)
When I recompile I get an error box with the following
Quote:
Attempt to access field 'xAllLev' that does not exist for thing 'SWSkills'
Location: 'eval' script for Thing 'SWSkills' (Eval Script '#1') near line 2
- - -
Attempt to access field 'abValue' that does not exist for thing 'SWSkills'
Location: 'eval' script for Thing 'SWSkills' (Eval Script '#1') near line 2
- - -
Attempt to access field 'abValue' that does not exist for thing 'SWSkills'
Location: 'eval' script for Thing 'SWSkills' (Eval Script '#1') near line 2
- - -
Attempt to access field 'abValue' that does not exist for thing 'SWSkills'
Location: 'eval' script for Thing 'SWSkills' (Eval Script '#1') near line 4
|