Added #addenemy

This commit is contained in:
raeleus 2024-10-06 23:07:56 -07:00
parent 129f063f35
commit f5433ec6f8
2 changed files with 70 additions and 3 deletions

View file

@ -365,12 +365,12 @@ const modifier = (text) => {
text += "\n Generate an encounter from the specified list. If a list is not specified, it will default to \"easy\" You can instead provide a number as a challenge rating which will scale encounters from the appropriate list."
text += "\n#showenemies"
text += "\n Shows the list of current enemies."
text += "\n#addenemy (ac) (damage_modifier) name"
text += "\n Adds the specified enemy to the list of enemies. It will automatically be assigned an inititiative. You can specify an armor class or both an armor class and damage modifier."
text += "\n#addenemy name health ac damage initiative spells"
text += "\n Adds the specified enemy to the list of enemies. health, ac, damage, and initiative can be numbers or dice rolls such as 3d6+5. Type the name in quotes if the name contains a space. The rest of the parameters can be a list of spells. Each spell must be typed in quotes if it has a space. If the spell does damage, write the name and damage roll in the following format: \"Ray of Frost5d10\""
text += "\n#removeenemy name or index"
text += "\n Removes the enemy as specified by the name or index. To delete multiple enemies, type the numbers with spaces or commas between them. This is safer than calling #removenote multiple times because the numbers shift as enemies are deleted. Quotes are not necessary."
text += "\n#initiative"
text += "\n Assigns initiative to all characters and enemies. This begins combat."
text += "\n Assigns initiative to all characters. This begins combat."
text += "\n#turn"
text += "\n Updates the turn to the next character in combat. If it is an enemy, the enemy will attack. If it's a player character, the system will allow the player to take their turn. If there are no enemies left or all the player characters are dead, combat ends."
text += "\n#flee (dc or automatic|effortless|easy|)"