Skip to content

Instantly share code, notes, and snippets.

@easyboy
Last active November 25, 2020 18:36
Show Gist options
  • Save easyboy/1655f9e4963c23f400cc02a153fb159f to your computer and use it in GitHub Desktop.
Save easyboy/1655f9e4963c23f400cc02a153fb159f to your computer and use it in GitHub Desktop.
var iFileName = "pub_20201117_TCoE-Wild_Magic_Barbarian.js";
RequiredSheetVersion(13);
SourceList["TCoE"] = {
name : "Tasha's Cauldron of Everything",
abbreviation : "TCoE",
group : "Primary Sources",
url : "https://dnd.wizards.com/products/tabletop-games/rpg-products/tashas-cauldron-everything",
date : "2020/11/17"
};
AddSubClass("barbarian", "path of wild magic", {
regExpSearch : /^(?=.*\bwild\b)(?=.*\bmagic\b).*$/i,
subname : "Path of Wild Magic",
source : ["TCoE", 25],
abilitySave : 3,
features : {
"subclassfeature3" : {
name : "Magic Awareness",
source : ["TCoE", 25],
minlevel : 3,
description : desc([
"As an action, until the end of my next turn, I know any spell or magic item within 60 ft",
"I learn the school and location of the magic I detect",
"I can't sense the magic if it is behind total cover"
]),
usages: "Proficiency bonus per ",
usagescalc : "event.value = What('Proficiency Bonus')",
recovery: "long rest",
action : [["action", ""]]
},
"subclassfeature3.1" : {
name : "Wild Surge",
source : ["TCoE", 25],
minlevel : 3,
description : "\n Whenever I enter my rage, I roll on the Wild Magic table (see Notes page)",
toNotesPage : [{
name : "Wild Magic Table",
source : ["TCoE", 26],
popupName : "Wild Magic Table",
note : [
"Magic erupts from me while I rage. Whenever I enter my rage, I have to roll on the table below to see what happens.",
"If the effect calls for a saving throw, the DC is equal to 8 + my proficiency bonus + my Constitution modifier.\n",
"d8\tEFFECT",
" 1\tShadowy tendrils lash around me. Each creature of my choice that I can see within 30 feet of me must succeed on a Constitution saving throw or take 1dl2 necrotic damage. I also gain 1d12 temporary hit points.",
" 2\tI teleport up to 30 feet to an unoccupied space I can see. Until my rage ends, I can use this effect again on each of my turns as a bonus action.",
" 3\tAn intangible spirit, which looks like a flumph or a pixie (my choice), appears within 5 feet of one creature of my choice that I can see within 30 feet of me. At the end of the current turn, the spirit explodes, and each creature within 5 feet of it must succeed on a Dexterity saving throw or take 1d6 force damage. Until my rage ends, I can use this effect again, summoning another spirit, on each of my turns as a bonus action.",
" 4\tMagic infuses one weapon of my choice that I am holding. Until my rage ends, the weapon's damage type changes to force, and it gains the light and thrown properties, with a normal range of 20 feet and a long range of 60 feet. If the weapon leaves my hand, the weapon reappears in my hand at the end of the current turn.",
" 5\tWhenever a creature hits me with an attack roll before my rage ends, that creature takes 1d6 force damage, as magic lashes out in retribution.",
" 6\tUntil my rage ends, I am surrounded by multicolored, protective lights; I gain a +l bonus to AC, and while within 10 feet of me, my allies gain the same bonus.",
" 7\tFlowers and vines temporarily grow around me; until my rage ends, the ground within 15 feet of me is difficult terrain for my enemies.",
" 8\tA bolt of light shoots from my chest. Another creature of my choice that I can see within 30 feet of me rust succeed on a Constitution Saving throw or take 1d6 radiant damage and be blinded until the start of my next turn. Until my rage ends, I can use this effect again on each of my turns as a bonus action."
]
}]
},
"subclassfeature6" : {
name : "Bolstering Magic",
source : ["TCoE", 26],
minlevel : 6,
description : desc([
"As an action, I can touch a creature or myself and confer one of the following benefits:",
" - For 10 minutes, they can add 1d3 to any attack roll or ability check",
" - Roll 1d3. They regain an expended spell slot of a level equal to or lower than the roll",
"A creature that receives the second benefit can't receive it again until after a long rest"
]),
usages: "Proficiency bonus per ",
usagescalc : "event.value = What('Proficiency Bonus')",
recovery: "long rest",
action : [["action", ""]]
},
"subclassfeature10" : {
name : "Unstable Backlash",
source : ["TCoE", 26],
minlevel : 10,
description : desc([
"After taking damage or failing a saving throw while raging, I can change my wild surge",
"I reroll my effect on the Wild Magic table and immediately produce the results rolled",
"This replaces the current wild surge effect with a new one"
]),
action : [["reaction", " (in Rage after taking damage or failing save)"]]
},
"subclassfeature14" : {
name : "Controlled Surge",
source : ["TCoE", 26],
minlevel : 14,
description : desc([
"Whenever I roll for my wild surge, I can roll the die twice and choose which result to use",
"If I roll the same on both dice, I can choose any effect on the Wild Magic table"
])
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment