Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !servalias potion embed
- {{arg = "%1%".lower()}}
- {{num = int(''.join([x for x in "0"+arg if x.isdigit()]))}}
- {{name = "Greater" if num == 4 or 'gr' in arg else "Superior" if num == 8 or 'supe' in arg else "Supreme" if num == 10 or 'supr' in arg else ""}}
- {{rollInrt = "1d20"}}
- {{inert = vroll(rollInrt)}}
- {{rollStr = "10d4+20" if name == "Supreme" else "8d4+8" if name == "Superior" else "4d4+4" if name == "Greater" else "2d4+2"}}
- {{heal = "0" if inert == 1 else vroll(rollStr)}}
- {{set_hp(min(hp, heal.total + currentHp))}}
- -title "<name> drinks a Potion of name Healing!"
- -desc "A character who drinks the liquid in this vial regains hit points. Administering or drinking a healing potion takes a bonus action. Some healing potions may be inert."
- -f "Healing Received|heal" if inert >1 else "No Heal received"
- -f "Hit Points|get_hp() / hp" if inert > 1 else "Potion is inert."
- -footer "Treasure | DMG 187 - 188"
- -color <color>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement