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.
For example,
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:
Is there a way to also set it up so that when the roll is 20 (without the modifier but we want it to include the modifier in case it does not) it does something unique? If you’re familiar with D&D it’d be rolling a natural 20 versus 19 + PB + ABSM
This will give an inexperienced player a 1 in 6 chance of passing the roll while a combat-experienced player will have a 50/50 chance of passing the roll.
Obviously, you can calculate the threshold to whatever works best for you, and you can add different thresholds for different stat checks.
Unfortunately the wiki isn’t open to general access/editing, due to risk of abuse.
And the people with access don’t always have the time to keep it updated. If anyone feels like they can contribute, don’t hesitate to reach out to myself or @Szaal (only admins I can think of right now that are active).