You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After showing the bot recently, one of the points where people “get stuck” is reading the information with the /lookup character command, when asked however how they would like it.... they can't answer ... so I tried to interpret an acceptable solution for them.
Is it possible to improve the output markdown of the /lookup character command, using a better markdown template?
I'll put a couple of examples I've prepared to give you an idea of what would be needed.
MORE COMPLEX MARKDOWN (maybe with additional options "showActios" and "showSpells" ?)
___
>## XXX
>- **Size** Medium
>- **Race\Species** Human
>- **Alignment** neutral evil
>- **Exp** 900xp
>- **Spell Save DC** 16
>- **Spell Attack Mod** 16
>- **Pouch** 10gp
>___
>- **Armor Class** 16 (*breastplate*)
>- **Hit Points** 2
>- **Speed** 30 ft.
>___
>|STR|DEX|CON|INT|WIS|CHA|
>|:---:|:---:|:---:|:---:|:---:|:---:|
>|16 (+3)|15 (+2)|14 (+2)|14 (+2)|11 (+0)|14 (+2)|
>
>- **Saving Throws** Str +5, Dex +4, Wis +2
>- **Skills** Athletics +5, Deception +4, Intimidation +4
>- **Damage Resistances** Necrotic
>- **Damage Immunities**
>- **Senses** passive Perception 10
>- **Languages** Clestial, Infernal
>- **Proficiency Bonus** +2
>___
>### Equipment
> dbgfofig, dfhfhf, fhfhof
>___
>### Traits
>***Brute.*** A melee weapon deals one extra die of its damage when the bandit lord hits with it (included in the attack).
>
>***Pack Tactics.*** The bandit lord has advantage on attack rolls against a creature if at least one of the bandit lord's allies is within 5 feet of the creature and the ally isn't incapacitated.
>
>### Actions
>***Longsword.*** *Melee Weapon Attack:* +5 to hit, reach 5 ft., one target. *Hit:* 12 (2d8 + 3) slashing damage, or 14 (2d10 + 3) slashing damage if used with two hands.
>
>***Dagger.*** *Melee or Ranged Weapon Attack:* +5 to hit, reach 5 ft. or range 20/60 ft., one target. *Hit:* 5 (1d4 + 3) piercing damage, or 8 (2d4 + 3) piercing damage if used to make a melee attack.
>
>### Bonus Actions
>***Leadership (Recharges after a Short or Long Rest).*** For 1 minute, the bandit lord can utter a special command or warning whenever a nonhostile creature that it can see within 30 feet of it makes an attack roll or a saving throw. The creature can add a d4 to its roll provided it can hear and understand the bandit lord. A creature can benefit from only one Leadership die at a time. This effect ends if the bandit lord is incapacitated.
>
>### Reactions
>***Parry.*** The bandit lord adds 2 to its AC against one melee attack that would hit it. To do so, the bandit lord must see the attacker and be wielding a weapon.
>
>***Protect Me!.*** When a creature the bandit lord can see targets it with an attack, the bandit lord can sidestep behind an ally within 5 feet of it, moving to an unoccupied space within 5 feet of the ally. The chosen ally becomes the target of the attack instead.
>___
>### Spellcasting
>Cantrips (at will): *fire bolt*, *light*, *mage hand*, *prestidigitation*, *shocking grasp*
>1st level (4 slots): *detect magic*, *identify*, *mage armor*, *magic missile*
>2nd level (3 slots): *detect thoughts*, *mirror image*, *misty step*
>3rd level (3 slots): *counterspell*, *fly*, *lightning bolt*
>4th level (3 slots): *banishment*, *fire shield*, *stoneskin*
>5th level (3 slots): *cone of cold*, *scrying*, *wall of force*
>6th level (1 slot): *globe of invulnerability*
>7th level (1 slot): *teleport*
>8th level (1 slot): *mind blank*
>9th level (1 slot): *time stop*
Brute. A melee weapon deals one extra die of its damage when the bandit lord hits with it (included in the attack).
Pack Tactics. The bandit lord has advantage on attack rolls against a creature if at least one of the bandit lord's allies is within 5 feet of the creature and the ally isn't incapacitated.
Actions
Longsword.Melee Weapon Attack: +5 to hit, reach 5 ft., one target. Hit: 12 (2d8 + 3) slashing damage, or 14 (2d10 + 3) slashing damage if used with two hands.
Dagger.Melee or Ranged Weapon Attack: +5 to hit, reach 5 ft. or range 20/60 ft., one target. Hit: 5 (1d4 + 3) piercing damage, or 8 (2d4 + 3) piercing damage if used to make a melee attack.
Bonus Actions
Leadership (Recharges after a Short or Long Rest). For 1 minute, the bandit lord can utter a special command or warning whenever a nonhostile creature that it can see within 30 feet of it makes an attack roll or a saving throw. The creature can add a d4 to its roll provided it can hear and understand the bandit lord. A creature can benefit from only one Leadership die at a time. This effect ends if the bandit lord is incapacitated.
Reactions
Parry. The bandit lord adds 2 to its AC against one melee attack that would hit it. To do so, the bandit lord must see the attacker and be wielding a weapon.
Protect Me!. When a creature the bandit lord can see targets it with an attack, the bandit lord can sidestep behind an ally within 5 feet of it, moving to an unoccupied space within 5 feet of the ally. The chosen ally becomes the target of the attack instead.
@p4535992
Discord's markdown support is rather lacking. I'm using a Discord Embed to format /lookup's if you want to check that out as well. I could do format tables as an ascii code block, but it's not very aesthetic.
After showing the bot recently, one of the points where people “get stuck” is reading the information with the
/lookup character
command, when asked however how they would like it.... they can't answer ... so I tried to interpret an acceptable solution for them.Is it possible to improve the output markdown of the
/lookup character
command, using a better markdown template?I'll put a couple of examples I've prepared to give you an idea of what would be needed.
BASIC MARKDOWN
Result:
MORE COMPLEX MARKDOWN (maybe with additional options "showActios" and "showSpells" ?)
Result:
The text was updated successfully, but these errors were encountered: