Skip to content

Commit

Permalink
v1.8.0 (for MPMB v13.1.14)
Browse files Browse the repository at this point in the history
- Added player options from **Vecna: Eve of Ruin** [VEoR] (it's just 1 magic item).
- Added missing magic items from **Van Richten's Guide to Ravenloft**.
- Update `weaponOptions`, `weaponsAdd`, `armorOptions`, and `armorAdd` syntax to v13.1.14.
- Remove many `weaponsAdd` and `armorAdd` attributes because they have become obsolete.
- Update Potent Spellcasting to use v13.1.14 built-in variable.
- Fix Rune Shaper feat (GotG) to actually increase number of allowed spells to half proficiency bonus ([MBUG-132](flapkan/mpmb-tracker#223)).
- Fix many typos (thanks everybody on Discord for finding them).
  • Loading branch information
safety-orange committed Jun 28, 2024
1 parent 6c34e8b commit 8a35ee6
Show file tree
Hide file tree
Showing 90 changed files with 4,528 additions and 6,948 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Questions or remarks are best made on the MPMB [Discord server](https://discord.

 

## Get all WotC content in your character sheet
To get all the non-duplicate content from this, all you need is the **all_WotC** files from a [release](../../releases). Be aware that the file above might be for a version of MPMB's that is still under development.
## How to use
To get all the non-duplicate WotC content, all you need is the **all_WotC** files from a [release](../../releases). Be aware that the files above might be for a version of MPMB's that is still under development.

1. Download the latest version of the PDF from [MPMB's website](https://www.flapkan.com/#download).
2. [Click here](https://github.com/safety-orange/Imports-for-MPMB-s-Character-Sheet/releases/latest/download/all_WotC_pub+UA.min.js) to download the latest all_WotC_pub+UA.min.js release, and save it somewhere on your machine.
Expand All @@ -20,6 +20,8 @@ To get all the non-duplicate content from this, all you need is the **all_WotC**
5. In the dialog that opens, click **Add file**, and open the file you saved in step 1.
6. Click **Apply changes** in the Import Files dialog and the sheet will process the file you added. You will get a pop-up message if it was successful or not.

MPMB has a more flashy explanation, along with a video, on how to do this in [this how-to guide on his website](https://www.flapkan.com/how-to/add-more-content).

 

## Different Versions
Expand Down
2,224 changes: 999 additions & 1,225 deletions WotC material/all_WotC_pub+UA.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions WotC material/all_WotC_pub+UA.min.js

Large diffs are not rendered by default.

1,803 changes: 832 additions & 971 deletions WotC material/all_WotC_published.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WotC material/all_WotC_published.min.js

Large diffs are not rendered by default.

425 changes: 169 additions & 256 deletions WotC material/all_WotC_unearthed_arcana.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WotC material/all_WotC_unearthed_arcana.min.js

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions WotC material/ps_20160427_Zendikar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var iFileName = "ps_20160427_Zendikar.js";
RequiredSheetVersion("13.0.8");
RequiredSheetVersion("13.1.14");
// This file adds all material from the Plane Shift: Zendikar article (https://magic.wizards.com/en/articles/archive/feature/plane-shift-zendikar-2016-04-27) to MPMB's Character Record Sheet
// This code contains mostly contributions by SoilentBrad

Expand Down Expand Up @@ -130,7 +130,7 @@ RaceList["zendikar vampire"] = {
languageProfs : ["Common", "Vampire"],
vision : [["Darkvision", 60]],
dmgres : ["Necrotic"],
weaponOptions : {
weaponOptions : [{
regExpSearch : /^(?=.*blood)(?=.*thirst).*$/i,
name : "Blood Thirst",
source : [["PS:Z", 15]],
Expand All @@ -140,9 +140,9 @@ RaceList["zendikar vampire"] = {
range : "Melee",
description : "+1 piercing damage; Reduces max HP by the necrotic damage, while healing me for the same",
abilitytodamage : false,
monkweapon : false
},
weaponsAdd : ["Blood Thirst"],
monkweapon : false,
selectNow : true
}],
age : " don't mature and age in the same way that other races do. Every living vampire is either a bloodchief, infected by Ulamog's influence in the distant reaches of history, or was spawned by a bloodchief from a living human. Most vampires are thus very old, but few have any memory of their earliest years.",
scores : [0, 0, 0, 1, 0, 2],
trait : "Vampire (+1 Intelligence, +2 Charisma)\nBlood Thirst: I can drain blood and life energy from a willing creature, or one that is grappled by me, incapacitated, or restrained. With a melee attack, I deal 1 piercing and 1d6 necrotic damage. The target's max HP is reduced by the necrotic damage amount and I regain HP for the same. This max HP reduction lasts until the target finished a long rest.\nNull Transformation: A humanoid killed by my blood thirst ability becomes a null."
Expand All @@ -162,13 +162,13 @@ RaceList["grotag tribe goblin"] = {
vision : [["Darkvision", 60]],
dmgres : ["Fire", "Psychic"],
skills : ["Animal Handling"],
armourOptions : {
armourOptions : [{
regExpSearch : /^(?=.*goblin)(?=.*grit).*$/i,
name : "Goblin Grit",
source : [["PS:Z", 17]],
ac : 11
},
armorAdd : "Goblin Grit",
ac : 11,
selectNow : true
}],
age : " reach adulthood at around 12 and rarely live longer than 50 years",
height : " average about 3 feet tall (3'\" + 2d4\")",
weight : " weigh about 40 lb (35 + 2d4 \xD7 1d4 lb)",
Expand All @@ -190,13 +190,13 @@ RaceList["lavastep tribe goblin"] = {
languageProfs : ["Common", "Goblin"],
vision : [["Darkvision", 60]],
dmgres : ["Fire", "Psychic"],
armourOptions : {
armourOptions : [{
regExpSearch : /^(?=.*goblin)(?=.*grit).*$/i,
name : "Goblin Grit",
source : [["PS:Z", 17]],
ac : 11
},
armorAdd : "Goblin Grit",
ac : 11,
selectNow : true
}],
age : " reach adulthood at around 12 and rarely live longer than 50 years",
height : " average about 3 feet tall (3'\" + 2d4\")",
weight : " weigh about 40 lb (35 + 2d4 \xD7 1d4 lb)",
Expand All @@ -219,13 +219,13 @@ RaceList["tuktuk tribe goblin"] = {
vision : [["Darkvision", 60]],
dmgres : ["Fire", "Psychic"],
toolProfs : [["Thieves' tools", "Dex"]],
armourOptions : {
armourOptions : [{
regExpSearch : /^(?=.*goblin)(?=.*grit).*$/i,
name : "Goblin Grit",
source : [["PS:Z", 17]],
ac : 11
},
armorAdd : "Goblin Grit",
ac : 11,
selectNow : true
}],
age : " reach adulthood at around 12 and rarely live longer than 50 years",
height : " average about 3 feet tall (3'\" + 2d4\")",
weight : " weigh about 40 lb (35 + 2d4 \xD7 1d4 lb)",
Expand Down
43 changes: 14 additions & 29 deletions WotC material/ps_20170705_Amonkhet.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var iFileName = "ps_20170705_Amonkhet.js";
RequiredSheetVersion("13.0.8");
RequiredSheetVersion("13.1.14");
// This file adds all material from the Plane Shift: Amonkhet article (https://dnd.wizards.com/articles/features/plane-shift-amonkhet) to MPMB's Character Record Sheet
// This code contains contributions by /u/MILKB0T and /u/juju2569

Expand Down Expand Up @@ -228,14 +228,14 @@ RaceList["amonkhet minotaur"] = { // Includes contributions by /u/juju2569
size : 3,
speed : { walk : { spd : 30, enc : 20 } },
languageProfs : ["Common", "Minotaur"],
weaponsAdd : ["Horns"],
weaponOptions : {
weaponOptions : [{
baseWeapon : "unarmed strike",
regExpSearch : /\bhorns?\b/i,
name : "Horns",
source : [["PS:A", 20]],
damage : [1, 6, "bludgeoning"]
},
damage : [1, 6, "bludgeoning"],
selectNow : true
}],
skills : ["Intimidation"],
age : " reach full maturity around the age of 20, but rarely live beyond 40",
height : " are well over 6 feet tall",
Expand Down Expand Up @@ -293,7 +293,8 @@ RaceList["naga"] = { // Includes contributions by /u/juju2569
damage : [1, 4, "piercing"],
range : "Melee",
description : "Target must make Constitution save (DC 8 + Prof Bonus + Con mod) or take +1d4 poison damage",
abilitytodamage : true
abilitytodamage : true,
selectNow : true
}, {
regExpSearch : /\bconstrict\b/i,
name : "Constrict",
Expand All @@ -303,9 +304,9 @@ RaceList["naga"] = { // Includes contributions by /u/juju2569
damage : [1, 6, "bludgeoning"],
range : "Melee",
description : "Target is grappled and restrained (escape DC 8+Prof+Str mod); Can't use constrict again until grapple ends",
abilitytodamage : true
abilitytodamage : true,
selectNow : true
}],
weaponsAdd : ["Naga Bite", "Constrict"],
age : " reach adulthood in their late teens and show no signs of aging beyond that point except for growing larger. They could live well over a century.",
height : " stand about 5 feet tall when upright, but the total length of their bodies, head to tail, ranges from 10 to as much as 20 feet",
weight : " weigh around 200 lb",
Expand Down Expand Up @@ -372,7 +373,7 @@ AddSubClass("cleric", "solidarity domain", { // Includes contributions by /u/juj
calcChanges : {
atkAdd : [
function (fields, v) {
if (classes.known.cleric && classes.known.cleric.level > 7 && !v.isSpell) {
if (classes.known.cleric && v.isWeapon) {
fields.Description += (fields.Description ? '; ' : '') + 'Once per turn +' + (classes.known.cleric.level < 14 ? 1 : 2) + 'd8 damage';
}
},
Expand Down Expand Up @@ -445,7 +446,7 @@ AddSubClass("cleric", "strength domain", { // Includes contributions by /u/juju2
calcChanges : {
atkAdd : [
function (fields, v) {
if (classes.known.cleric && classes.known.cleric.level > 7 && !v.isSpell) {
if (classes.known.cleric && v.isWeapon) {
fields.Description += (fields.Description ? '; ' : '') + 'Once per turn +' + (classes.known.cleric.level < 14 ? 1 : 2) + 'd8 damage';
}
},
Expand Down Expand Up @@ -505,24 +506,8 @@ AddSubClass("cleric", "ambition domain", { // Includes contributions by /u/juju2
name : "Potent Spellcasting",
source : [["PS:A", 27]],
minlevel : 8,
description : "\n " + "I can add my Wisdom modifier to the damage I deal with my cleric cantrips",
calcChanges : {
atkCalc : [
function (fields, v, output) {
if (classes.known.cleric && classes.known.cleric.level > 7 && v.thisWeapon[3] && v.thisWeapon[4].indexOf('cleric') !== -1 && SpellsList[v.thisWeapon[3]].level === 0) {
output.extraDmg += What('Wis Mod');
};
},
"My cleric cantrips get my Wisdom modifier added to their damage."
],
spellAdd : [
function (spellKey, spellObj, spName) {
if (spName.indexOf("cleric") == -1 || !What("Wis Mod") || Number(What("Wis Mod")) <= 0 || spellObj.psionic || spellObj.level !== 0) return;
return genericSpellDmgEdit(spellKey, spellObj, "\\w+\\.?", "Wis");
},
"My cleric cantrips get my Wisdom modifier added to their damage."
]
}
description : desc("I add my Wisdom modifier to the damage I deal with my cleric cantrips"),
calcChanges : GenericClassFeatures["potent spellcasting"].calcChanges
},
"subclassfeature17" : {
name : "Improved Duplicity",
Expand Down Expand Up @@ -580,7 +565,7 @@ AddSubClass("cleric", "zeal domain", { // Includes contributions by /u/MILKB0T
calcChanges : {
atkAdd : [
function (fields, v) {
if (classes.known.cleric && classes.known.cleric.level > 7 && !v.isSpell) {
if (classes.known.cleric && v.isWeapon) {
fields.Description += (fields.Description ? '; ' : '') + 'Once per turn +' + (classes.known.cleric.level < 14 ? 1 : 2) + 'd8 damage';
}
},
Expand Down
10 changes: 5 additions & 5 deletions WotC material/ps_20180109_Ixalan.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var iFileName = "ps_20180109_Ixalan.js";
RequiredSheetVersion("13.0.8");
RequiredSheetVersion("13.1.14");
// This file adds all material from the Plane Shift: Ixalan article (https://magic.wizards.com/en/articles/archive/feature/plane-shift-ixalan-2018-01-09) to MPMB's Character Record Sheet

// Define the source
Expand Down Expand Up @@ -80,7 +80,7 @@ RaceList["ixalan vampire"] = {
languageProfs : ["Common", "Vampire"],
vision : [["Darkvision", 60]],
dmgres : ["Necrotic"],
weaponOptions : {
weaponOptions : [{
regExpSearch : /^(?=.*blood)(?=.*thirst).*$/i,
name : "Blood Thirst",
source : [["PS:X", 14]],
Expand All @@ -90,9 +90,9 @@ RaceList["ixalan vampire"] = {
range : "Melee",
description : "+1 piercing damage; Reduces max HP by the necrotic damage, while healing me for the same",
abilitytodamage : false,
monkweapon : false
},
weaponsAdd : ["Blood Thirst"],
monkweapon : false,
selectNow : true
}],
age : " don't mature and age in the same way that other races do",
scores : [0, 0, 0, 0, 1, 2],
trait : "Vampire (+1 Wisdom, +2 Charisma)\nBlood Thirst: I can drain blood and life energy from a willing creature, or one that is grappled by me, incapacitated, or restrained. With a melee attack, I deal 1 piercing and 1d6 necrotic damage. The target's max HP is reduced by the necrotic damage amount and I regain HP for the same. This max HP reduction lasts until the target finished a long rest.\nFeast of Blood: After using my blood thirst ability to drain blood, I gain +10 ft speed and advantage on Strength and Dexterity checks and saving throws for 1 minute."
Expand Down
40 changes: 17 additions & 23 deletions WotC material/pub_20140715_LMoP.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var iFileName = "pub_20140715_LMoP.js";
RequiredSheetVersion("13.0.8");
RequiredSheetVersion("13.1.14");
// This file adds the magic items from the Lost Mines of Phandelver adventure from the D&D 5e starter set to MPMB's Character Record Sheet

// Define the source
Expand All @@ -22,14 +22,14 @@ MagicItemsList["dragonguard"] = {
description : "This +1 breastplate has a gold dragon motif worked into its design. It grants its wearer advantage on saving throws against the breath weapons of creatures that have the dragon type.",
descriptionFull : "This +1 breastplate has a gold dragon motif worked into its design. Created for a human hero of Neverwinter named Tergon, it grants its wearer advantage on saving throws against the breath weapons of creatures that have the dragon type.",
weight : 20,
armorAdd : "Dragonguard",
armorOptions : [{
regExpSearch : /dragonguard/i,
name : "Dragonguard",
source : [["LMoP", 48], ["PaBTSO", 72]],
type : "medium",
ac : "14+1",
weight : 20
weight : 20,
selectNow : true
}],
savetxt : { adv_vs : ["breath weapons of dragons"] }
}
Expand All @@ -42,15 +42,15 @@ MagicItemsList["hew"] = {
description : 'Dwarvish runes on the head of this rusty battleaxe read "Hew". It adds a +1 bonus to attack and damage rolls made with it and deals maximum damage against plant creatures or objects made of wood. While carrying it, I feel uneasy when I travel through a forest, as its creator was a dwarf smith who feuded with dryads.',
descriptionFull : 'This rusty old battleaxe of dwarven manufacture has has runes in Dwarvish on the axe head which read "Hew". Hew is a +1 battleaxe deals maximum damage when the wielder hits a plant creature or an object made of wood. The axe\'s creator was a dwarf smith who feuded with the dryads of a forest where he used it for protection while he cut firewood. Whoever carries the axe feels uneasy whenever he or she travels through a forest.',
weight : 4,
weaponsAdd : ["Hew"],
weaponOptions : {
weaponOptions : [{
baseWeapon : "battleaxe",
regExpSearch : /\bhew\b/i,
name : "Hew",
name : '"Hew"',
source : [["LMoP", 33], ["PaBTSO", 54]],
description : "Versatile (1d10); Max damage against plant creatures and wooden objects",
modifiers : [1, 1]
}
modifiers : [1, 1],
selectNow : true
}]
}
MagicItemsList["lightbringer"] = {
name : "Lightbringer",
Expand All @@ -61,15 +61,15 @@ MagicItemsList["lightbringer"] = {
description : "This mace adds a +1 bonus to attack and damage rolls made with it. It is made for a cleric of the god of dawn, with its head of shaped like a sunburst and made of solid brass. I can command it to glow as bright as a torch. While glowing, the mace deals an extra 1d6 radiant damage to undead creatures.",
descriptionFull : "This +1 mace was made for a cleric of Lathander, the god of dawn. The head of the mace is shaped like a sunburst and is made of solid brass. Named Lightbringer, this weapon glows as bright as a torch when its wielder commands. While glowing, the mace deals an extra 1d6 radiant damage to undead creatures.",
weight : 4,
weaponsAdd : ["Lightbringer"],
weaponOptions : {
weaponOptions : [{
baseWeapon : "mace",
regExpSearch : /lightbringer/i,
name : "Lightbringer",
source : [["LMoP", 48], ["PaBTSO", 54]],
description : "Command to glow as torch and deal +1d6 radiant damage to undead",
modifiers : [1, 1]
}
modifiers : [1, 1],
selectNow : true
}]
}
MagicItemsList["spider staff"] = { // changed to the new version introduced in Phandelver and Below: The Shattered Obelisk with the prerequisite
name : "Spider Staff",
Expand All @@ -86,14 +86,14 @@ MagicItemsList["spider staff"] = { // changed to the new version introduced in P
usages : 10,
recovery : "dawn",
additional : "regains 1d6+4",
weaponsAdd : ["Spider Staff"],
weaponOptions : {
weaponOptions : [{
baseWeapon : "quarterstaff",
regExpSearch : /^(?=.*spider)(?=.*staff).*$/i,
name : "Spider Staff",
source : [["LMoP", 53], ["PaBTSO", 220]],
description : "Versatile (1d8); +1d6 poison damage"
},
description : "Versatile (1d8); +1d6 poison damage",
selectNow : true
}],
fixedDC : 15,
spellFirstColTitle : "Ch",
spellcastingBonus : [{
Expand Down Expand Up @@ -125,13 +125,7 @@ MagicItemsList["staff of defense"] = { // changed to the new version introduced
additional : "regains 1d6+4",
spellcastingAbility : "class",
spellFirstColTitle : "Ch",
weaponOptions : {
baseWeapon : "quarterstaff",
regExpSearch : /staff of defense/i,
name : "Staff of Defense",
weight : 3,
source : [["LMoP", 53], ["PaBTSO", 220]]
},
weaponsAdd : { options : ["Staff of Defense"] },
spellcastingBonus : [{
name : "1 charge",
spells : ["mage armor"],
Expand Down
Loading

0 comments on commit 8a35ee6

Please sign in to comment.