
Download from GitHub
Install:
Example Monster file:
Example spell file:
Please let me know if you run into any issues. Please post the specific text you've used.
Install:
- Be a mentor
- Create 3 API files in your campaign settings -> API scripts page. 5e-monsters, 5e-spells, and 5e-scripts.
- Copy the script from github (open it in RAW) to 5e-scripts
- Click save
- In the Output console on the same page it should print out "Shaped Scripts ready"
- Enter data for monsters and spells as outlined below. See github for examples.
- Save both files
- Select a token
- Run a command like "!shaped-spell --fireball" or "!shaped-spell --fireball, magic missile". Or import commands like "!shaped-monster --goblin".
Example Monster file:
fifthMonsters = { monsters: [ { "name": "Goblin", "size": "Small", "type": "humanoid (goblinoid)", "alignment": "neutral evil", "AC": "15 (leather armor, shield)", "HP": "7 (2d6)", "speed": "30 ft.", "abilities": "STR 8 DEX 14 CON 10 INT 10 WIS 8 CHA 8", "skills": "Stealth +6", "senses": "darkvision 60 ft., passive Perception 9", "languages": "Common, Goblin", "challenge": "1/4", "traits": [ "Nimble Escape. The goblin can take the Disengage or Hide action as a bonus action on each of its turns." ], "actions": [ "Scimitar. Melee Weapon Attack: +4 to hit, reach 5 ft., one target. Hit: 5 (1d6 + 2) slashing damage.", "Shortbow. Ranged Weapon Attack: +4 to hit, range 80/320 ft., one target. Hit: 5 (1d6 + 2) piercing damage." ] } ] };
Example spell file:
fifthSpells = { spells: [ { "name": "Fireball", "description": "A bright streak flashes from your pointing finger to a point you choose within range and then blossoms with a low roar into an explosion of flame. Each creature in a 20-foot-radius sphere centered on that point must make a Dexterity saving throw. A target takes 8d6 fire damage on a failed save, or half as much damage on a successful one.\nThe fire spreads around corners. It ignites flammable objects in the area that aren't being worn or carried.", "higherLevel": "When you cast this spell using a spell slot of 4th level or higher, the damage increases by 1d6 for each slot level above 3rd.", "emote": "evokes a bright streak that flashes from {{GENDER_PRONOUN_HIS_HER}} pointing finger to a point and then blossoms with a low roar into an explosion of flame", "source": "phb 241", "range": "150 ft", "target": "each creature in the aoe", "aoe": "20 ft radius sphere centered on a point within range", "components": { "verbal": true, "somatic": true, "material": true, "materialMaterial": "A tiny ball of bat guano and sulfur" }, "duration": "Instantaneous", "castingTime": "action", "level": 3, "school": "Evocation", "save": { "ability": "dexterity", "damage": "8d6", "damageType": "fire", "saveSuccess": "half damage", "higherLevelDice": "1", "higherLevelDie": "d6" }, "effects": "The fire spreads around corners. It ignites flammable objects in the area that aren't being worn or carried.", "classes": [ "Cleric", "Sorcerer", "Warlock", "Wizard" ], "domains": [ "Light" ], "patrons": [ "Fiend" ] } ] };
Please let me know if you run into any issues. Please post the specific text you've used.