Added Automatic difficulty. Resolves #41

This commit is contained in:
raeleus 2024-10-05 13:21:03 -07:00
parent 9d1f55b803
commit da44c0aab7
3 changed files with 14 additions and 13 deletions

View file

@ -270,7 +270,7 @@ const modifier = (text) => {
text += "\n Shows the value of the auto xp."
text += "\n#levelup"
text += "\n Increases the character's experience by the exact amount needed to reach the next level."
text += "\n#setdefaultdifficulty (difficulty_class or effortless|easy|medium|hard|impossible)"
text += "\n#setdefaultdifficulty (difficulty_class or automatic|effortless|easy|medium|hard|impossible)"
text += "\n Sets the default difficulty for #check, #try, #attack, and #cast when a difficulty is not specified. The normal default is 10 (easy). If you do not pass any parameters, the default will be set to 10 (easy)."
text += "\n#showdefaultdifficulty"
text += "\n Shows the default difficulty for #check, #try, #attack, and #cast when a difficulty is not specified. The normal default is 10 (easy)."
@ -280,9 +280,9 @@ const modifier = (text) => {
text += "\n Removes the character that has the indicated name."
text += "\n\n--Character Checks--"
text += "\n#check (ability|skill) (advantage|disadvantage) (difficulty_class or effortless|easy|medium|hard|impossible)"
text += "\n#check (ability|skill) (advantage|disadvantage) (difficulty_class or automatic|effortless|easy|medium|hard|impossible)"
text += "\n Rolls a d20 and compares the result (modified by the character's ability/skill) to the specified difficulty. The parameters can be listed in any order."
text += "\n#try (ability|skill) (advantage|disadvantage) (difficulty_class or effortless|easy|medium|hard|impossible) task"
text += "\n#try (ability|skill) (advantage|disadvantage) (difficulty_class or automatic|effortless|easy|medium|hard|impossible) task"
text += "\n Attempts to do the task based on the character's ability/skill against the specified difficulty. Quotes are not necessary."
text += "\n#attack (ranged) (advantage|disadvantage) (ac or effortless|easy|medium|hard|impossible) target"
text += "\n Attacks the specified target with a melee (the default) or ranged attack. The roll is compared against the specified AC which will determine if the attack succeeds or misses. The parameters can be listed in any order, except the target must be listed last. Quotes are not necessary."