I’ve seen on the wiki that it is possible to use *rand to set a range of numbers to do X, Y or Z.
What I have not seen (forgive me if I have missed it) is the ability to set a modifier to *rand based on a variable.
Your character is a soldier with a focus on combat but has a weakness of seeing traps. Ergo because of your skill in combat, your characters gains +X to any *rand that specifies a combat related skill (swinging a sword, punching things, etc). Conversely, your character has a -Y to any *rand that involves seeing a trap.
Is this possible with C-Script and I’m just missing something? The best I could come up with was this:
*rand 1 20 +var