Formula Help |
I'm attempting to mod some different types of weapon damage. I'm working on a weapon that increases damamge over distance. I'm not looking for help on that score, but I can't seem to get this formula to work (Three iterations below):
Weapon Space Min Damage Modifier Formula := [%Level%] / (2 + 4 * (2.3 ^ (-.01 * ([%Range%]) - 50))))
Weapon Space Min Damage Modifier Formula := ([%Level%] / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50)))))
Weapon Space Min Damage Modifier Formula := (([%Level%] + 1) / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50)))))
Weapon Space Min Damage Modifier Formula := (([%Level%] + 1) / (2 + 4 * (2.3 ^ (-.01 * (([%Range%] + 1) - 50))))) + 1
I've even tried cutting and pasting the range limiting forumula from other weapons (The iif, min function) to the end of the forumula, to limit the range to 500.
The error I'm getting is "Cannot Parse". I know there are a ton of parentheses in the forumula, but I had to use an exponential curve instead of a logistic curve.
Anyway, I'm looking for some syntax help. Anyone see anything overtly wrong with the forumula itself?




Parse
"Cannot parse" is a generic error that means it couldn't read the formula. Usually if you messed up the parentheses it'll tell you.
In this case it probably doesn't like the -.01. Try -0.01.