Skip to content

Instantly share code, notes, and snippets.

@Biggoron144
Created April 6, 2020 00:37
Show Gist options
  • Save Biggoron144/ac318d25f48bfa66bdae583c82e611b5 to your computer and use it in GitHub Desktop.
Save Biggoron144/ac318d25f48bfa66bdae583c82e611b5 to your computer and use it in GitHub Desktop.
MPMB Unearthed Arcana import test
var iFileName = "ua_20200206_Subclasses-Part-2.js";
RequiredSheetVersion(12.999);
// This file adds the content from the Unearthed Arcana: Subclasses, Part 2 article to MPMB's Character Record Sheet
// Define the source
SourceList["UA:SP2"] = {
name : "Unearthed Arcana: Subclasses, Part 2",
abbreviation : "UA:SP2",
group : "Unearthed Arcana",
url : "https://media.wizards.com/2020/dnd/downloads/UA2020_02_06_Subclasses2.pdf",
date : "2020/02/06"
};
AddSubClass("bard", "college of creation", {
regExpSearch : /^(?=.*college)(?=.*of)(?=.*creation).*$/i,
subname : "College of Creation",
source : ["UA:SP2", 1],
fullname : "Creation",
features : {
"subclassfeature3" : {
name : "Note of Potential",
source : ["UA:SP2", 1],
minlevel : 3,
description : desc([
"For the duration of a granted Bardic Inspiration, I can create an invulnerable, intangible Tiny Note of Potential orbiting around the creature I inspire. That creature can expend the note to use one option below",
" - Note of Destruction. After the creature adds Bardic Inspiration to an attack roll, the creature can create a burst of sound.",
" Other creatures within 5 feet of it Con save against my spell save DC or take that Bardic Inspiration die thunder damage.",
" - Note of Protection. After the creature adds Bardic Inspiration to a saving throw, the creature can gain that Bardic Inspiration die + my Charisma modifier temporary HP",
" - Note of Ingenuity. When the creature adds Bardic Inspiration to an ability check, the creature can roll the Bardic Inspiration die with advantage."
])
},
"subclassfeature6" : {
name : "Animating Performance",
source : ["UA:SP2", 1],
minlevel : 6,
description : desc([
"Choose a giant heritage using the \"Choose Feature\" button above",
"As an action, I can target a Large or smaller nonmagical item I can see within 30 feet of I and animate it.",
"The animated item uses the Dancing Item stat block and is under my control for 1 hour or until it is reduced to 0 hit points.",
"In combat, the item shares my initiative count, but it takes its turn immediately after mine.",
"It can move and use its reaction on its own, but can only use the Dodge action, unless I take a bonus action to command it to take one of its stat block actions or the Dash, Disengage, Help, Hide, or Search action.",
"When I use my Bardic Inspiration feature, I choose which action my animated item takes as part of that bonus action.",
"I can expend a spell slot of 3rd level or higher to use this feature an additional time before a long rest.",
"I can have only one item animated by this feature at a time; if I use this action and already have a dancing item from this feature, the first one immediately becomes inanimate."
]),
eval : "AddAction('action', 'Animating Performance (end)', 'Bard (College of Creation)');",
removeeval : "RemoveAction('action', 'Animating Performance (end)');",
usages : 1,
recovery : "long rest"
},
"subclassfeature14" : {
name : "Performance of Creation",
source : ["UA:SP2", 2],
minlevel : 14,
description : desc([
"As an action, I create a nonmagical item in an unoccupied space within 10 feet of me.",
"The item must appear on a surface or in a liquid that can support it.",
"The gp value of the item can’t be more than 20 times my bard level and must be Large or smaller.",
"The created item disappears at the end of my next turn, unless I use my action to maintain it.",
"Each time I use my action in this way, the item’s duration is extended to the end of my next turn, up to a maximum of 1 minute, after which it exists for a number of hours equal to my bard level.",
"I can have only one item created by this feature at a time; if I use this action and already have an item from this feature, the first one immediately vanishes.",
"I can expend a spell slot of 5th level or higher to use this feature an additional time before a long rest."
]),
eval : "AddAction('action', 'Performance of Creation (end)', 'Bard (College of Creation)');",
removeeval : "RemoveAction('action', 'Performance of Creation (end)');",
usages : 1,
recovery : "long rest"
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment