I copied the above code, and added (sorry for the pseduocode, I have the actual code on another machine)
Code: Select all
CASE STRADD
OurItem.stradd = nval;
<output "value set succesfully>;
break;
Now I've noticed that some tags in "Set.js" are different then what they are in baseitem.dfn. For example, baseitem.dfn identifies strength as "str", where set.js adjusts "OurItem.strength" instead of "OurItem.str"
Could there possibly be another name for "addstr"?
I think it would be an AWESOME tool if the GM could change Addstr, addDex, and AddInt on the fly. Currently we have to create a custom DFN file for EVERY type of magic weapon. If we could get these three settings working with the "set" command, then the GM could create them on the fly.
[/code]