Advertisement
DynaMike_

Doomridden Sorcerer for MPMB, work in progress, mostly good

Apr 26th, 2025
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.55 KB | None | 0 0
  1. var iFileName = "Doomridden Sorcerer.js";
  2. RequiredSheetVersion(13);
  3.  
  4. // Define Source
  5. SourceList["DM2"] = {
  6.     name : "Deep Magic Volume 2",
  7.     abbreviation : "DM2",
  8.     group : "Kobold Press",
  9.     url : "https://koboldpress.com/kpstore/product/deep-magic-volume-2-pdf/",
  10.     date: "2025/03/01"
  11. };
  12.  
  13. // add archetype "Doomridden Sorcerer" to MPMB's CRS
  14. // Sorcerer Subclasses
  15. AddSubClass("sorcerer", "doomridden", {
  16.     regExpSearch : /^(?=.*doomridden)(?=.*(sorcerer|sorcery)).*$/i,
  17.     subname : "Doomridden",
  18.     source : [["DM2", 30]],
  19. features : {
  20.         "subclassfeature1" : {
  21.             name : "Doomridden Magic",
  22.             source : [["DM2", 30]],
  23.             minlevel : 1,
  24.             description : desc([
  25.                 "I learn additional spells, which do not count towards the number of spell I can know",
  26.                 "Whenever I gain a sorcerer level, I can replace one of these with another of the same level",
  27.                 "It must be a divination or necromancy spell on the sorcerer, wizard, or warlock spell list"
  28.             ]),
  29. spellcastingBonus : [{
  30.                 name : "Doomridden Spells (1st-level)",
  31.                 "class" : ["sorcerer", "warlock", "wizard"],
  32.                 school : ["Necro", "Div"],
  33.                 level : [1, 1],
  34.                 extraspells : ["brimstone", "proselytize"],
  35.                 selection : ["brimstone", "proselytize"],
  36.                 times : 2
  37.             }, {
  38.                 name : "Doomridden Spells (2nd-level)",
  39.                 "class" : ["sorcerer", "warlock", "wizard"],
  40.                 school : ["Necro", "Div"],
  41.                 level : [2, 2],
  42. extraspells : ["augury", "blindness/deafness"],
  43. selection : ["augury", "blindness/deafness"],
  44.                 times : levels.map(function (n) { return n < 3 ? 0 : 2; })
  45.             }, {
  46.                 name : "Doomridden Spells (3rd-level)",
  47.                 "class" : ["sorcerer", "warlock", "wizard"],
  48.                 school : ["Necro", "Div"],
  49.                 level : [3, 3],
  50. extraspells : ["bestow curse", "glimpse the end"],
  51. selection : ["bestow curse", "glimpse the end"],
  52.                 times : levels.map(function (n) { return n < 5 ? 0 : 2; })
  53.             }, {
  54.                 name : "Doomridden Spells (4th-level)",
  55.                 "class" : ["sorcerer", "warlock", "wizard"],
  56.                 school : ["Necro", "Div"],
  57.                 level : [4, 4],
  58.                 extraspells : ["blight", "servant of doom"],
  59.                 selection : ["blight", "servant of doom"],
  60.                 times : levels.map(function (n) { return n < 7 ? 0 : 2; })
  61.             }, {
  62.                 name : "Doomridden Spells (5th-level)",
  63.                 "class" : ["sorcerer", "warlock", "wizard"],
  64.                 school : ["Necro", "Div"],
  65.                 level : [5, 5],
  66. extraspells : ["contagion", "insect plague"],
  67. selection : ["contagion", "insect plague"],
  68.                 times : levels.map(function (n) { return n < 9 ? 0 : 2; })
  69.             }]
  70.         },
  71.         "subclassfeature1.1" : {
  72. name : "Calamitous",
  73. source : [["DM2", 30]],
  74. minlevel : 1,
  75. description : desc(['Use the "Choose Feature" button above to select the effect']),
  76. choices : ["fire and smoke", "wails and boils", "judgment"],
  77. choicesNotInMenu : false,
  78. "fire and smoke" : {
  79. name : "Fire and Smoke",
  80. description : "\n " + "I can use a bonus action to summon a fiery doom that lasts 1 minute" + "\n " + "For the duration, my eyes flicker as though reflecting a roaring fire" + "\n " + "When first activating & at start of each of my subsequent turns while doom is active (no action required), I can pronounce fiery doom on one creature I can see within 60 feet" + "\n " + "The first time I deal damage to that creature, it takes extra fire damage equal to my proficiency bonus" + "\n " + "Once I activate this feature, I can't do so again until I finish a short or long rest",
  81. recovery : "short rest",
  82. usages : 1
  83. },
  84. "wails and boils" : {
  85. name : "Wails and Boils",
  86. description : "\n " + "I can use a bonus action to summon a pox-ridden doom that lasts 1 minute" + "\n " + "For the duration, I am surrounded by faint whispers and cries of pain and grief, audible to creatures within 10 feet of me" + "\n " + "When first activating & at start of each of my subsequent turns while doom is active (no action required), I can pronounce pox-ridden doom on one creature I can see within 60 feet of me" + "\n " + "That creature subtracts an amount equal to my proficiency bonus from the next attack roll it makes against one creature of my choice within 60 feet of me (which can include myself) before the start of my next turn" + "\n " + "Once I activate this feature, I can't do so again until I finish a short or long rest",
  87. recovery : "short rest",
  88. usages : 1
  89. },
  90. "judgment" : {
  91. name : "Judgment",
  92. description : "\n " + "I can use a bonus action to summon a judging doom that lasts 1 minute" + "\n " + "For the duration, my hands emit soft, red light" + "\n " + "When first activating & at start of each of my subsequent turns while doom is active (no action required), I can pronounce a judging doom on one creature I can see within 60 feet of me until the start of my next turn" + "\n " + "If that creature fails a saving throw against a spell I cast this turn, it is also frightened of me until the start of my next turn" + "\n " + "Once I activate this feature, I can't do so again until I finish a short or long rest",
  93. recovery : "short rest",
  94. usages : 1
  95. },
  96.         },
  97.         "subclassfeature6" : {
  98. name : "Disastrous",
  99. source : [["DM2", 31]],
  100. minlevel : 6,
  101. description : desc(['Use the "Choose Feature" button above to select the effect']),
  102. choices : ["fire and smoke", "wails and boils", "judgment"],
  103. choicesNotInMenu : false,
  104. "fire and smoke" : {
  105. name : "Fire and Smoke",
  106. description : "\n " + "When I target a creature with my pronouncement of fiery doom, it must succeed on a Dexterity saving throw against my spell save DC or be engulfed in smoke and be blinded until the start of my next turn",
  107. recovery : "short rest",
  108. usages : 1
  109. },
  110. "wails and boils" : {
  111. name : "Wails and Boils",
  112. description : "\n " + "When I target a creature with my pronouncement of pox-ridden doom, it must succeed on a Constitution saving throw against my spell save DC or be riddled with pus-filled boils and be poisoned until the start of my next turn",
  113. recovery : "short rest",
  114. usages : 1
  115. },
  116. "judgment" : {
  117. name : "Judgment",
  118. description : "\n " + "When I target a creature with my pronouncement of judging doom, it must succeed on a Charisma saving throw against my spell save DC or have its speed reduced to 0 until the start of my next turn as divine judgment stops it in its tracks",
  119. recovery : "short rest",
  120. usages : 1
  121. },
  122.         },
  123. "subclassfeature14" : {
  124.             name : "Cataclysmic",
  125.             source : [["DM2", 31]],
  126.             minlevel : 14,
  127.             description : desc([
  128.                 "Starting at 14th level, whenever I pronounce a doom on a creature, I can expend a number of sorcery points up to my proficiency bonus",
  129. "If I do, my pronouncement of doom can affect a number of additional creatures equal to that amount",
  130. "In addition, if I have already activated your doom, I can spend 5 sorcery points to activate it again",
  131.             ]),
  132.             action : [["bonus action", ""]],
  133.             altResource : "5 SP"
  134.         },
  135.         "subclassfeature18" : {
  136. name : "Apocalyptic",
  137. source : [["DM2", 31]],
  138. minlevel : 18,
  139. description : desc(['Use the "Choose Feature" button above to select the effect.']),
  140. choices : ["fire and smoke", "wails and boils", "judgment"],
  141. choicesNotInMenu : false,
  142. "fire and smoke" : {
  143. name : "Apocalyptic Fire and Smoke",
  144. description : "\n " + "While this doom is active, I can use an action to emit a blast of apocalyptic fire" + "\n " + "Each hostile creature within 15 feet of me must make a Dexterity saving throw against my spell save DC" + "\n " + "On a failure, a creature takes 6d8 fire damage immediately, and it takes 3d8 fire damage at the start of its next turn" + "\n " + "On a success, a creature takes half the fire damage immediately and no additional fire damage at the start of its next turn",
  145. action : [["action", ""]],
  146.              recovery : "long rest",
  147.             usages : 1,
  148.             altResource : "7 SP"
  149. },
  150. "wails and boils" : {
  151. name : "Apocalyptic Wails and Boils",
  152. description : "\n " + "While this doom is active, I can use an action to send the wails and cries surrounding me outward in a sickening cacophony: " + "\n " + "Each creature within 15 feet of me must make a Constitution saving throw against my spell save DC: " + "\n " + "On a failure, a creature takes 6d8 poison damage and is poisoned and deafened for 1 minute: " + "\n " + "On a success, a creature takes half the damage and isn't poisoned or deafened: " + "\n " + "A poisoned and deafened creature can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success",
  153. action : [["action", ""]],
  154.              recovery : "long rest",
  155.             usages : 1,
  156.             altResource : "7 SP"
  157. },
  158. "judgment" : {
  159. name : "Apocalyptic Judgment",
  160. description : "\n " + "While this doom is active, I can use an action to call down divine judgment on nearby creatures: " + "\n " + "Choose a number of creatures I can see within 30 feet of me up to my proficiency bonus: " + "\n " + "Each target must make a Charisma saving throw against my spell save DC: " + "\n " + "On a failure, a creature takes 5d8 radiant damage and is stunned until the end of its next turn: " + "\n " + "On a success, a creature takes half the damage and isn't stunned",
  161. action : [["action", ""]],
  162.              recovery : "long rest",
  163.             usages : 1,
  164.             altResource : "7 SP"
  165. },
  166. }
  167. }
  168. });
  169.  
  170. //Additional Doomridden Spells
  171.  
  172. // Define Source
  173. SourceList["DM2"] = {
  174.     name : "Deep Magic Volume 1",
  175.     abbreviation : "DM1",
  176.     group : "Kobold Press",
  177.     url : "https://koboldpress.com/kpstore/product/deep-magic-volume-1-pdf/",
  178.     date: "2025/03/01"
  179. };
  180. SourceList["DM2"] = {
  181.     name : "Deep Magic Volume 2",
  182.     abbreviation : "DM2",
  183.     group : "Kobold Press",
  184.     url : "https://koboldpress.com/kpstore/product/deep-magic-volume-2-pdf/",
  185.     date: "2025/03/01"
  186. };
  187.  
  188. SpellsList["brimstone"] = {
  189.     name : "Brimstone",
  190.     classes : ["sorcerer", "wizard", "warlock"],   
  191.     source : ["DM2", 147],
  192.     level : 1,
  193.     school : "Conj", 
  194.     time : "1 a", 
  195.     range : "60 ft", 
  196.     components : "S", 
  197.     duration : "Conc, 1 minute", 
  198.     save : "Dex", 
  199.     description : "Sulfuric brimstone falls to ground, crea save or 2d8 bludgeoning dmg, 1d8 fire dmg at start of turn",
  200.     descriptionFull : "You conjure a hunk of sulfuric brimstone that materializes in the air, then falls to the ground at a point within range. Any creature occupying that space must succeed on a Dexterity saving throw or take 2d8 bludgeoning damage." + "\n   " + "The brimstone remains in the space where it fell while the spell persists. Each creature that starts its turn within 15 feet of the brimstone must make a successful Dexterity saving throw or take 1d8 fire damage. The brimstone can be destroyed; it has AC 8 and 12 hp. The brimstone explodes if it takes fire damage; the explosion ends the spell and deals 1d8 bludgeoning damage to all creatures within 15 feet, or half as much damage to a creature that makes a successful Dexterity saving throw." + AtHigherLevels + "When you cast this spell using a spell slot of 2nd level or higher, the fire damage increases by 1d8 for each slot level above 1st.",
  201. };
  202.  
  203. SpellsList["proselytize"] = {
  204.     name : "Proselytize",
  205.     classes : ["sorcerer", "wizard", "warlock"],   
  206.     source : ["DM2", 211],
  207.     level : 1,
  208.     school : "Ench", 
  209.     time : "1 a", 
  210.     range : "S:10-ft radius", 
  211.     components : "V,S,M", 
  212.     compMaterial : "a holy symbol or religious tome, text, or pamphlet", 
  213.     duration : "Instantaneous", 
  214.     save : "Wis", 
  215.     description : "Emotional speech, 10 ft rad, knocked prone, can't react",
  216.     descriptionFull : "You imbue your words with overwhelming emotion, bringing creatures around you to their knees. Every creature within 10 feet of you must make a Wisdom saving throw. On a failed save, a creature is knocked prone and can't take reactions until the end of its next turn." + AtHigherLevels + "When you cast this spell using a spell slot of 2nd level or higher, the radius of the effect increases by 10 for each slot level above 1st.",
  217. };
  218.  
  219. SpellsList["glimpse the end"] = {
  220. name : "Glimpse the End",
  221. classes : ["sorcerer", "wizard", "warlock"],
  222. source : ["DM2", 183],
  223. level : 3,
  224. school : "Div",
  225. time : "1 a",
  226. range : "Touch",
  227. components : "V,M",
  228. compMaterial : "a pinch of grave dust or a piece from a tombstone",
  229. duration : "Instantaneous",
  230. description : "You and creature share vision of the creature's likely death",
  231. descriptionFull : "You examine the life force in a creature you touch and sense when it will expire. You and the creature share a vision of the most likely way in which the creature will die. You both sense approximately how far into the future the event occurs. The vision is not a prophecy or a definite fate; life can take unexpected twists and turns. It is, however, the most likely outcome at the current time unless the creature alters the course of its life. The vision can seem to last as litle as a few moments or as long as 30 minutes to you and the spell's target, but in the objective world, the knowledge is received instantaneously.",
  232. };
  233.  
  234.   SpellsList["servant of doom"] = {
  235.     name : "Servant of Doom",
  236.     classes : ["druid", "cleric", "sorcerer", "warlock", "wizard"],   
  237.     source : ["DM1", 218],
  238.     level : 4,
  239.     school : "Trans", 
  240.     time : "1 bns", 
  241.     range : "Self", 
  242.     components : "V", 
  243.     duration : "Conc, 1 min", 
  244.     save : "Wis", 
  245.     description : "Assume the form of Emissary (wis/int based save bonus) or Envoy (str/dex based save bonus) see b",
  246.     descriptionFull : "A force of destruction gifts you a portion of its power. Each time you cast this spell, you choose whether to assume the form of the emissary or the form of the envoy for the duration." + "\n   " + " Emissary. The blood in your veins shines through your skin, extra eyes open in your flesh, and you gain the following benefits:" + "\n   " + " • You gain a flying speed equal to your walking speed and the ability to hover, though you must stay within 5 feet of the ground. • You gain truesight out to a range of 60 feet. • Creatures have disadvantage on Wisdom saving throws against your spells and abilities. • You have advantage on Intelligence- or Wisdom-based attack rolls." + "\n   " + "Envoy. Your skin becomes stone-like, bony growths erupt across your body, and you gain the following benefits:" + "\n   " + " • You ignore difficult terrain for movement purposes. • You can move through walls and other solid barriers if you succeed on a Strength check you make just before moving up to the barrier. The DC equals 10 + twice the barrier’s thickness in feet. • You have advantage on Strength- or Dexterity-based attack rolls. • Your melee weapon attacks deal an extra 1d6 slashing damage on a hit.", 
  247. };
  248.  
  249. //Re-adding Insect Plague
  250.  
  251. SpellsList["insect plague"] = {
  252. name : "Insect Plague",
  253. classes : ["cleric", "druid", "sorcerer"],
  254. source : [["SRD", 157], ["P", 254]],
  255. level : 5,
  256. school : "Conj",
  257. time : "1 a",
  258. range : "300 ft",
  259. components : "V,S,M",
  260. compMaterial : "A few grains of sugar, some kernels of grain, and a smear of fat",
  261. duration : "Conc, 10 min",
  262. save : "Con",
  263. description : "20-ft rad all now/enter/end turn 4d10+1d10/SL Piercing dmg; save half, no cover; light obsc.; dif. ter",
  264. descriptionShorter : "20-ft rad all now/enter/end 4d10+1d10/SL Piercing dmg; save half; light obscures; dif. ter.",
  265. descriptionFull : "Swarming, biting locusts fill a 20-foot-radius sphere centered on a point you choose within range. The sphere spreads around corners. The sphere remains for the duration, and its area is lightly obscured. The sphere's area is difficult terrain." + "\n " + "When the area appears, each creature in it must make a Constitution saving throw. A creature takes 4d10 piercing damage on a failed save, or half as much damage on a successful one. A creature must also make this saving throw when it enters the spell's area for the first time on a turn or ends its turn there." + AtHigherLevels + "When you cast this spell using a spell slot of 6th level or higher, the damage increases by 1d10 for each slot level above 5th.",
  266. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement