Hi All!
I am using this plugin in my game from VisuStella: Dice Rolls and RNG Seeds but I'm running into an issue.
I am trying to add an Automatic Bonus Modifier based on an in-game variable. Basically, if I have a variable labeled "Main Char Proficiency Bonus" that =2, I want to add +2 to a Dice Roll automatically.
The plugin has a selection for auto dice effects. I've been playing with "General Auto-Effects" and "Variable Requirements" to achieve this, however neither of them are working.
The easiest would be the General Auto-Effects. When using General Auto-Effects, I can add an automatic bonus to a roll using Dice Effects>Modifier (Static), but it does not seem to recognize either variable text code: \V[n] or +\V[n] despite the tool tip saying "You may use code." I'm getting an error every time.
Less useful would be using the Variable Requirements. When using Variable Requirements the plugin will check that a variable hit a specific number before applying an effect, but it only checks if the variable is at least X amount. This means if I set up a bunch of Variable Requirement Bonuses for a Dice Roll like "Main Char Proficiency Bonus 1 then add 1, Main Char proficiency Bonus 2 then add 2" it will add all of the Variable Requirement Bonuses as the Characters Proficiency Bonus Variable increases.
Right now I'm stuck either:
1. Creating 5 variables for each character (1 for each proficiency bonus they'll receive as they level up), changing each variable from 0 to 1 when they reach that bonus and then from 1 to 0 when they gain the next one. Then, adding 5 Variable Requirement Effects to every dice roll that checks which proficiency bonus is currently set at 1 and then adding only that bonus modifier.
2. Creating 5 skills for each character (1 for each proficiency bonus they'll receive as they level up) and then learning/unlearning each skill for the next when they reach the next proficiency bonus. Then adding 5 Skill Check Requirements to every dice roll that will check for each of the 5 different proficiency skills and add their relevant bonus if they're currently learned.
Obviously both of these methods are tedious and add to the amount of database items I'll be managing (and therefore increasing the chances for error.)
It would be so much simpler to just have an Automatic Bonus Modifier pull the exact variable number and add that to the dice roll. I do not know why it's not working when it says I can use code. My only thought is it means JS code which I am unfamiliar with.
Any ideas or help is appreciated! Thank you!
I am using this plugin in my game from VisuStella: Dice Rolls and RNG Seeds but I'm running into an issue.
I am trying to add an Automatic Bonus Modifier based on an in-game variable. Basically, if I have a variable labeled "Main Char Proficiency Bonus" that =2, I want to add +2 to a Dice Roll automatically.
The plugin has a selection for auto dice effects. I've been playing with "General Auto-Effects" and "Variable Requirements" to achieve this, however neither of them are working.
The easiest would be the General Auto-Effects. When using General Auto-Effects, I can add an automatic bonus to a roll using Dice Effects>Modifier (Static), but it does not seem to recognize either variable text code: \V[n] or +\V[n] despite the tool tip saying "You may use code." I'm getting an error every time.
Less useful would be using the Variable Requirements. When using Variable Requirements the plugin will check that a variable hit a specific number before applying an effect, but it only checks if the variable is at least X amount. This means if I set up a bunch of Variable Requirement Bonuses for a Dice Roll like "Main Char Proficiency Bonus 1 then add 1, Main Char proficiency Bonus 2 then add 2" it will add all of the Variable Requirement Bonuses as the Characters Proficiency Bonus Variable increases.
Right now I'm stuck either:
1. Creating 5 variables for each character (1 for each proficiency bonus they'll receive as they level up), changing each variable from 0 to 1 when they reach that bonus and then from 1 to 0 when they gain the next one. Then, adding 5 Variable Requirement Effects to every dice roll that checks which proficiency bonus is currently set at 1 and then adding only that bonus modifier.
2. Creating 5 skills for each character (1 for each proficiency bonus they'll receive as they level up) and then learning/unlearning each skill for the next when they reach the next proficiency bonus. Then adding 5 Skill Check Requirements to every dice roll that will check for each of the 5 different proficiency skills and add their relevant bonus if they're currently learned.
Obviously both of these methods are tedious and add to the amount of database items I'll be managing (and therefore increasing the chances for error.)
It would be so much simpler to just have an Automatic Bonus Modifier pull the exact variable number and add that to the dice roll. I do not know why it's not working when it says I can use code. My only thought is it means JS code which I am unfamiliar with.
Any ideas or help is appreciated! Thank you!