JavaScript:
Edit: I just realized that maybe using <Custom Parameters> would be more appropriate. Thoughts?<Custom Equip Requirement Condition>
if (user.paramBase(2) >= 10) {
condition = true;
} else {
???; //I need something here for the penalty mechanic
}
</Custom Equip Requirement Condition>JavaScript:
I'm not sure the correct way to implement this though. How would I reference the weapon's STR requirement? Or can I use a conditional within <Custom Parameters>?<Custom Parameters>
luk = user.paramBase(2) - "requirement"
</Custom Parameters>Edit2: Ok, I just tried the following, but it doesn't seem to be working. What am I doing wrong?...
JavaScript:
Edit3: Nvm, I got it working by removing the var and hard coding a value.<Custom Parameters>
var weaponWeight = 10;
luk = user.paramBase(2) - weaponWeight;
</Custom Parameters>