Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AelarTheElfRogue/0bc86fbecae9ab4132cb1c5c02347245 to your computer and use it in GitHub Desktop.
Save AelarTheElfRogue/0bc86fbecae9ab4132cb1c5c02347245 to your computer and use it in GitHub Desktop.
[Archetype] - Wizard: Blood Mage
var iFileName = "Wizard - Blood Mage [DungeonMastersGuild][AelarTheElfRogue].js";
RequiredSheetVersion(12.999);
// Converted for use with MPMB's Character Sheet by /u/AelarTheElfRogue
//Create the source
SourceList["JR:BM"] ={
name : "Joshua Raynack: Blood Magic",
abbreviation : "JR:BM",
group : "Dungeon Masters Guild",
url : "https://www.dmsguild.com/product/170966/Blood-Magic-5e",
date : "2018/09/04"
};
//Add the Blood Mage Subclass
AddSubClass(
"wizard",
"blood mage",
{
regExpSearch : /^(?=.*blood)(?=.*mage).*$/i,
subname : "Blood Mage",
source : ["JR:BM", 10],
fullname : "Wizard (Blood Mage)",
features : {
"subclassfeature2" : {
name : "Blood Savant",
source : ["JR:BM", 10],
minlevel : 2,
description : desc([
"I gain expertise with the Medicine skill",
"When I use the Arcane Recovery feature, I regain 1 expended hit die.",
]),
skills : ["Medicine"],
skillstxt : "\n\n" + toUni("Blood Mage") + ": Medicine.",
eval : "AddSkillProf('Med', true, 'true')",
removeeval : "AddSkillProf('Med', false, 'false')"
},
"subclassfeature2.1" : {
name : "Blood Magic",
source : ["JR:BM", 10],
minlevel : 2,
description : desc([
"I can expend hit dice, gaining no health, to gain blood points. I can expend 1 hit die to",
"gain 1 blood point, or 2 hit dice to gain 2 blood points. While I have at least one blood",
"point, I gain AC equal to 13 + my Con mod if not wearing armor, and advantage on by",
"first death death saving throw that day. I also gain several blood rituals, found on the",
"extra notes page. All unexpended blood points vanish after a long rest.",
]),
additional : ["Blood Points"],
usages : "\u0020",
recovery : "\u0020",
action : ["bonus", " (Inflict Wound)"],
eval : "AddString(\"Extra.Notes\", \"\\u25C6 Blood Rituals (Blood Magic Feature)\\n - Blood Agony: When you hit a creature with a melee or spell attack, you can expend 1 or more blood points to deal psychic damage to the target, in addition to the damage of the attack. The extra damage is 1d6 for 1 blood point, plus 1d6 for each additional blood point, to a maximum of 5d6. At 14th level, increase the damage die of Blood Agony to a d8.\\n - Blood Sense: Expend 1 blood point as an action to focus your awareness upon the immediate area to reveal the presence of living creatures. Until the end of your next turn, you know the location of any beast, giant, or humanoid, within 60 feet that is not behind total cover. You know the type of any being whose presence you sense, but not the identity of the creature.\\n - Fortitude of Blood: Expend 1 blood point as a bonus action to gain a bonus to Constitution saving throws equal to your Intelligence modifier (minimum of +1). This lasts for 1 minute. You can invoke this ritual twice. Afterward, you cannot perform it again until you finish a short or long rest.\", true);",
removeeval : "RemoveString(\"Extra.Notes\", \"\\u25C6 Blood Rituals (Blood Magic Feature)\\n - Blood Agony: When you hit a creature with a melee or spell attack, you can expend 1 or more blood points to deal psychic damage to the target, in addition to the damage of the attack. The extra damage is 1d6 for 1 blood point, plus 1d6 for each additional blood point, to a maximum of 5d6. At 14th level, increase the damage die of Blood Agony to a d8.\\n - Blood Sense: Expend 1 blood point as an action to focus your awareness upon the immediate area to reveal the presence of living creatures. Until the end of your next turn, you know the location of any beast, giant, or humanoid, within 60 feet that is not behind total cover. You know the type of any being whose presence you sense, but not the identity of the creature.\\n - Fortitude of Blood: Expend 1 blood point as a bonus action to gain a bonus to Constitution saving throws equal to your Intelligence modifier (minimum of +1). This lasts for 1 minute. You can invoke this ritual twice. Afterward, you cannot perform it again until you finish a short or long rest.\", false);",
},
"subclassfeature6" : {
name : "Burn the Blood",
source : ["JR:BM", 10],
minlevel : 6,
description : desc([
"I gain resistance to psychic and fire damage. Whenever I expend a spell slot to cast a spell",
"that deals fire or psychic damage, I can deal my choice of fire or psychic damage equal",
"to half of my wizard level to all creatures of my choice within 10 feet.",
]),
dmgres : ["Fire", "Psychic"],
},
"subclassfeature6.1" : {
name : "Cull the Blood",
source : ["JR:BM", 10],
minlevel : 6,
description : desc([
"When a reduce a creature to 0 HP with a melee or spell attack, I gain 1 blood point.",
"As a reaction to a creature being hit with a critical hit, I can spend one blood point",
"to gain advantage on attack rolls againt that creature. If I roll a 19 or 20 on death",
"saving throws, I reain 1d6 hit points. The range changes to 18 to 20 at 14th level."
]),
},
"subclassfeature10" : {
name : "Inheritor of Blood",
source : ["JR:BM", 10],
minlevel : 10,
description : desc([
"If I drop to 0 HP without dying, I can make a DC 10 Constitution save, On a success, a",
"willing creature can expend a hit die, healing me instead. The DC increases by 5 per",
"use, and resets to 10 after a short or long rest.",
]),
},
"subclassfeature10.1" : {
name : "Soul Burn",
source : ["JR:BM", 11],
minlevel : 10,
description : desc([
"As a bonus action, I can expend blood points to regain spell slots. I roll 1d6 for each",
"blood point spent. I regain a 1st-level on a roll of 7-9, 2nd-level on a 10-16,",
"3rd-level on a 17-20, 4th level on a 21-23, and 5th level on a 24 and above.",
]),
},
"subclassfeature14" : {
name : "Blood Soul Magus",
source : ["JR:BM", 11],
minlevel : 14,
description : desc([
"I can now expend 1 hit die to gain 2 blood points, and 2 hit dice to gain 4 blood points.",
]),
},
}
}
);
//Add the Armor of Vitality
ArmourList["armor of vitality"] = {
regExpSearch : /^(?=.*armor)(?=.*of)(?=.*vitality).*$/i,
name : "Armor of Vitality (Con)",
source : ["JR:BM", 10],
type : "",
ac : 13,
dex : -10,
stealthdis : false,
weight : 0,
addMod : true,
};
var BloodMagic = "\n " + toUni("Blood Magic") + ": ";
//Add the Wizard Blood Spells
SpellsList["blood quill"] = {
name : "Blood Quill",
regExpSearch : /^(?=.*blood)(?=.*quill).*$/i,
classes : ["wizard"],
source : ["JR:BM", 15],
ritual : true,
level : 2,
school : "Div",
time : "1 a",
range : "Touch",
components : "V,S,M\u2020",
compMaterial : "a quill made from the feather of an exotic monstrosity worth at least 100 gp, which the spell consumes",
duration : "1 day",
description : "Learn a wizard spell from a dead wizard. Arcana check, DC 10 + spell level.",
descriptionFull : "You can attempt to learn a wizard spell from a spellcaster within 24 hours of his or her death. You pierce the corpse with the specially prepared quill and as it siphons the blood from the cadaver, select one wizard spell prepared or known to the deceased spellcaster." + "\n " + "The spell must be of a level for which you have a spell slot and you must make an Intelligence (Arcana) check to determine whether the quill absorbs it successfully. The DC equals 10 + the spell's level. On a failed check, the spell ends and consumes the quill." + "\n " + "Once the quill absorbs the spell, you may take the time to transcribe it into your spellbook using the normal rules for copying a spell. The quill crumbles into dust at the end of the duration or once you copy the absorbed spell into a spellbook, whichever happens first.",
};
SpellsList["blood rage"] = {
name : "Blood Rage",
regExpSearch : /^(?=.*blood)(?=.*rage).*$/i,
classes : ["bard", "sorcerer", "wizard"],
source : ["JR:BM", 15],
ritual : false,
level : 3,
school : "Ench",
time : "1 a",
range : "90 ft",
components : "V,S,M",
compMaterial : "A pint of the caster's blood",
duration : "Conc, 1 min",
description : "1 creature does 1d4 extra damage. Die increases one step when they take dmg. Increase as an action",
descriptionFull : "You choose a willing creature you can see within range and incite the blood within its veins with an unquenchable fury. Until the spell ends, the target deals an extra 1d4 damage to the target whenever it hits with a melee weapon attack." + "\n " + "Until the spell ends, each time the target takes damage, increase the extra damage one die step to a maximum of 1d12. You can also increase the extra damage one die step as an action." + "\n " + "If the target drops to 0 hit points before the spell ends, you can use a bonus action on a subsequent turn of yours to incite a new willing creature." + AtHigherLevels + "When you cast this spell using a spell slot of 4th level or higher, increase the extra damage by one die step to a maximum of 1d12 for every slot above 3rd." + BloodMagic + "When you cast this spell, you must expend 3 hit dice plus an additional 1 hit dice for every slot above 3rd. At the end of the duration, gain one level of exhaustion (as described in appendix A of the Player's Handbook). This level of exhaustion lasts until you finish a short rest.",
};
SpellsList["boilding blood"] = {
name : "Boiling Blood",
regExpSearch : /^(?=.*boiling)(?=.*blood).*$/i,
classes : ["warlock", "wizard"],
source : ["JR:BM", 15],
ritual : false,
level : 4,
school : "Trans",
time : "1 a",
range : "60 ft",
components : "V,S,M",
compMaterial : "one ounce of flammable oil",
duration : "Conc, 1 min",
save : "Con",
description : "1+1/SL creatures save or take 2d6+1d6/SL fire damage and are poisoned, save ends",
descriptionFull : "You attempt to boil the blood of one creature that you can see within range. If the body of the target has blood, the creature must make a Constitution saving throw. On a failed save, it is poisoned and takes 2d6 fire damage as its blood begins to heat to a boil." + "\n " + "A creature poisoned by this spell must make another Constitution saving throw at the end of each of its turns. On a failed save, it takes 2d6 fire damage. If it successfully saves against this spell three times, the spell ends. If it fails its save three times, it takes 2d6 damage at the end of each of its turns for the duration. The successes and failure do not need to be consecutive; keep track of both until the target collects three of a kind." + AtHigherLevels + "When you cast this spell using a spell slot of 5th level or higher, you can target one additional creature and the damage increases by 1d6 for each spell slot level above 4th.",
};
SpellsList["caustic wound"] = {
name : "Caustic Wound",
regExpSearch : /^(?=.*caustic)(?=.*wound).*$/i,
classes : ["sorcerer", "wizard"],
source : ["JR:BM", 16],
ritual : false,
level : 1,
school : "Trans",
time : "1 rea",
range : "Self",
components : "V,S",
duration : "1 rnd",
save : "Dex",
description : "1 creature who deals piercing or slashing dmg takes 2d10+1d10/SL acid damage, save halves.",
descriptionFull : "You infuse your blood with caustic acid. Until the start of your next turn, when you take piercing or slashing damage, a spray of acidic blood bursts from the wound, including from the triggering response. One creature in a 10-foot cone must make a Dexterity saving throw. A creature takes 2d10 acid damage on a failed save, or half as much damage on a successful one." + "\n " + "The acid destroys any susceptible objects in the area that are not worn or carried." + AtHigherLevels + "When you cast this spell using a spell slot of 2nd level or higher, the damage increases by 1d10 for each slot level above 1st.",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment