HoneyBadger said: GenKitty said: I thought up a new use for conditionals: Monster knowledge lore checks! Hee. Ooo that is a nice use case. Can you write up an example of a Monster Lore check with conditionals please? And I am waiting on fixing the crit/fail roll highlighting until after Riley is done making changes to the structure of the msg.inlinerolls object. I am working on totally re-writing the dice parser to be more robust and less of a steaming pile of spaghetti code. This is TOTALLY not tested AT ALL. Nor does it have most of the pretty pretty I usually shove into my cards. My game starts in less than an hour and I'm still waking up. But this is how *I* would do it, using one of today's game's monsters: !power {{ --name|Monster Knowledge Check --Best Result:|[[ [$Result]0d0+?{Best Result|0} ]] --??$Result total <= 7??!Fail|**No Idea** --??$$Result total >= 8??!L1|Burning Devil --??$$Result total >= 16??!L2|Small, immortal humanoid; Manic temperament; Keywords: Devil, Fire, Immortal, Minion --??$$Result total >= 23??!L3|Particularly tormented mortals become either whitefire burning devils or blackfire burning devils, lit aflame for all eternity. Whitefire devils are a torment saved for corrupt priests and hypocrites, while black fire devils are former necromancers and mass murderers. --??$$Result total >= 24??!L4|Resist Fire 10; Fortitude weakest defense; Powers: Burning Claws(Ow), Fire Burst(Area Ow), Fire Alacrity(Teleportation when missed) }} This version is one I would use, diplaying the results to everyone and the version I am the most likely to use because I tend to tell everyone everything the best roll is entitled to know. But that's mainly because I've been having to manually copy and paste from a notepad file and well, I'm lazy. Here's a different version, making everyone do their own rolls, invoked via API Roll Button, and having to organically figure out who knows what. I'd kill for the ability to do a roll in a hidden tag, the roll happens but the roll isn't seen by anyone, it's just used later for comparisons. I'd use it here. !power {{ --name|Monster Knowledge Check --whisper|%%who%% --Your Result:|[[ [$Result]1d20+@{selected|Religion} ]] --??$Result total <= 7??!Fail|**No Idea** --??$$Result total >= 8??!L1|Burning Devil --??$$Result total >= 16??!L2|Small, immortal humanoid; Manic temperament; Keywords: Devil, Fire, Immortal, Minion
--??$$Result total >= 23??!L3|Particularly tormented mortals become
either whitefire burning devils or blackfire burning devils, lit aflame
for all eternity. Whitefire devils are a torment saved for corrupt
priests and hypocrites, while black fire devils are former necromancers
and mass murderers. --??$$Result total >= 24??!L4|Resist Fire
10; Fortitude weakest defense; Powers: Burning Claws(Ow), Fire
Burst(Area Ow), Fire Alacrity(Teleportation when missed) }}