
Full details of the functionality can be found in the documentation available on github, along with a changelog listing fixes and features for each version.
Attacks
to Offense
and added Offense
and Utility
to !shaped-abilitiesWhat is the problem with this behavior? As far as I can see it's the same as 10.0.1.KiltedVaper said:
Here you are Kryx.
Don't do this please. It will be lost when you use a new version. Create a new file with the same structure.KiltedVaper said:
Mello, You can add that information directly to the 5eShaped Companion.js file. If you follow the existing format I believe you can add whatever you like to the Companion Database.
You're so right. I've gotten too used to manualy updating I make assumptions about other folks methods.Kryx said:
Don't do this please. It will be lost when you use a new version. Create a new file with the same structure.KiltedVaper said:
Mello, You can add that information directly to the 5eShaped Companion.js file. If you follow the existing format I believe you can add whatever you like to the Companion Database.
KiltedVaper said:
You're so right. I've gotten too used to manualy updating I make assumptions about other folks methods.
{ "monsters": [ { "name": "Lucrecia", "size": "Large", "type": "Monstrosity", "alignment": "chaotic evil", "AC": "19 (natural armor)", "HP": "218 (18d10 + 72)", "speed": "30 ft., climb 30 ft., swim 30 ft.", "strength": 24, "dexterity": 21, "constitution": 19, "intelligence": 16, "wisdom": 14, "charisma": 25, "savingThrows": "Con +9, Cha +12", "skills": "Acrobatics +10, Arcana +8, Deception +12, History +8, Intimidate +12, Persuasion +12", "damageResistances": "pyschic", "conditionImmunities": "charmed", "senses": "darkvision 60 ft.", "languages": "Abyssal, Common, Draconic, Giant, Sylvan, Thassilonian", "challenge": "13", "traits": [ { "name": "Legendary Resistance", "text": "If the lucrecia fails a saving throw, it can choose to succeed instead.", "recharge": "3/Day" }, { "name": "Innate Spellcasting", "text": "The lucrecia innate spellcasting ability is Charisma (spell save DC 20). It can innately cast the following spells, requiring no material components.\nAt Will: charm person, major image\n3/day each: mirror image, scrying, suggestion\n1/day each: dream, geas" }, { "name": "Spellcasting", "text": "The lucrecia is an 9th-level spellcaster. Its spellcasting ability is Charisma (spell save DC 20, +12 to hit with spell attacks). The lucrecia has the following cleric and sorcerer spells prepared:\nCantrips (at-will): blade ward, mage hand, mending, prestidigitation, sacred flame\n1st level (4 slots): cure wounds, divine favor, magic missile\n2nd level (3 slots): blindness/deafness, invisibility\n3rd level (3 slots): counterspell, haste\n4th level (3 slots): confusion, ice storm\n5th level (1 slot): dominate person, flame strike" } ], "actions": [ { "name": "Multiattack", "text": "The lucrecia can use its Intoxicating Touch. It then makes two attacks with its scimitars." }, { "name": "Scimitar", "text": "Melee Weapon Attack: +10 to hit, reach 10 ft., one target. Hit: 12 (2d6 + 5) slashing damage." }, { "name": "Intoxicating Touch", "text": "Melee Spell Attack: +12 to hit, reach 10 ft. one target. Hit: The target is magically cursed for 1 hour. Until the curse ends, the target has disadvantage on Wisdom saving throws and all ability checks." }, { "name": "Change Shape", "text": "The lucrecia magically polymorphs into a Medium or smaller size humanoid that has a challenge rating no higher than its own, or back into its true form. It reverts to its true form if it dies. Any equipment it is wearing or carrying is absorbed or borne by the new form (the lucrecia's choice).\nIn a new form, the lucrecia retains its alignment, hit points, Hit Dice, ability to speak, proficiencies,Legendary Resistance, lair actions, and Intelligence, Wisdom, and Charisma scores, as well as this action. Its statistics and capabilities are otherwise replaced by those of the new form, except any class features or legendary actions of that form." } ], "legendaryPoints": 3, "legendaryActions": [ { "name": "Cantrip", "text": "The lucrecia casts a cantrip.", "cost": 1 }, { "name": "Wisdom Drain", "text": "Melee Spell Attack: +12 to hit, reach 10 ft., one creature. Hit: 17 (3d6+7) psychic damage, and the target's Wisdom score is reduced by 1d4. The target dies if this reduces its Wisdom to 0. Otherwise, this reduction lasts until the target finishes a short or long rest.", "cost": 2 }, { "name": "Intoxicating Gaze", "text": "The lucrecia fixes its gaze on one creature it can see withing 30 feet of it. The target must succeed on a DC 20 Wisdom saving throw against this magic or take 10 (3d6) psychic damage and become stunned for 1 minute. The stunned target can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success. If a target's saving throw is successful or the effect ends for it, the target is immune to the lucrecia's gaze for the next 24 hours.", "cost": 2 } ] } ] }
on ('ready', function () { ShapedScripts.addEntities ( { "name": "SRD", "version": "2.0.0", "spells": [ { "name": "Acid Splash", "level": 0, "school": "Conjuration", "castingTime": "1 action", "range": "60 feet", "components": { "verbal": true, "somatic": true }, "duration": "Instantaneous", "description": "You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a Dexterity saving throw or take 1d6 acid damage.", "higherLevel": "This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6).", "emote": "hurls a bubble of acid", "save": { "ability": "Dexterity", "damage": "[[ceil((@{level} + 2) / 6)]]d6", "damageType": "acid" } }, { "name": "Aid", ... } ] } ); ShapedScripts.addEntities( { "name": "PHB", "dependencies": ["SRD"], "version": "2.0.0", "spells": [ { "name": "Arcane Gate",
... }, { "name": "Armor of Agathys",
... } ] } ); });
"attack": { "type": "ranged", "damage": "[[ceil((@{level} + 2) / 6)]]d10", "damageType": "fire" }
Ceil is short for ceiling and will round up to the nearest integer.Mello said:
Thank you so much guys.
One more doubt.
What is ceil?
Brandon S. said:
I'm having an issue using the UI to display a token action for the things the npc can do in a turn (e.g.-Multiattack, Attack1, Attack2...). Every other Token Action I enabled shows up as a button in a bar (Ability Checks, Init, Saving Throws & StatBlock). I have a second issue in that when I right-click the token and select 'Add Turn', it doesn't add the npc to the turn tracker. I can get the initiative to display in the chat using 'Init' Token Action button, but that's about as far as I can get with that.
I suspect I know the answer to this one, but I'll ask anyway: What do I need to do to change the display UI for attacks? Right now, I have to click StatBlock and I can click on an attack and it will put the results in the chat. There's nothing wrong with the UI inherently other than I'm not crazy about the look. My suspicion is that I need to figure out what the label for each attack is and substitute portions of a Power Card script with the attack label.
Brandon S. said:
I'm having an issue using the UI to display a token action for the things the npc can do in a turn (e.g.-Multiattack, Attack1, Attack2...). Every other Token Action I enabled shows up as a button in a bar (Ability Checks, Init, Saving Throws & StatBlock). I have a second issue in that when I right-click the token and select 'Add Turn', it doesn't add the npc to the turn tracker. I can get the initiative to display in the chat using 'Init' Token Action button, but that's about as far as I can get with that.
I suspect I know the answer to this one, but I'll ask anyway: What do I need to do to change the display UI for attacks? Right now, I have to click StatBlock and I can click on an attack and it will put the results in the chat. There's nothing wrong with the UI inherently other than I'm not crazy about the look. My suspicion is that I need to figure out what the label for each attack is and substitute portions of a Power Card script with the attack label.
%{selected|repeating_action_$0_roll}Where the $0 is the number of the action going top to bottom of the list starting at 0.
!shaped-abilities --actionsRefer the to the script documentation for more details on the command. (linked in the first post)
%{selected|shaped_initiative}
!shaped
No.Stephen R. said:
Is there a way to set up always advantage on one save only?
Is there a input form or guidance on how to format the JSON for adding additional information?The script has tons of examples in the first few lines. Take that code and format it so it's readable (there are many javascript formatters on the web) and you can see how to format it.
I have some custom variant of spells, and other content I'd like to make sure when I'm importing to PC character sheets, or using the script to generate monsters, that it populates the spells/class features with the updates.