Skip to content

Commit

Permalink
armourOptions should be armorOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
safety-orange committed Feb 4, 2019
1 parent e558e16 commit a64f77a
Show file tree
Hide file tree
Showing 14 changed files with 44 additions and 44 deletions.
28 changes: 14 additions & 14 deletions WotC material/v13/all_WotC_pub+UA.js
Original file line number Diff line number Diff line change
Expand Up @@ -5130,7 +5130,7 @@ MagicItemsList["sword of vengeance"] = {
atkCalc : [
function (fields, v, output) {
if (v.isMeleeWeapon && (/sword|scimitar|rapier/i).test(v.baseWeaponName) && (/of vengeance/i).test(v.WeaponText)) {
output.magic += 1;
output.magic = v.thisWeapon[1] + 1;
}
}, ''
]
Expand Down Expand Up @@ -7399,7 +7399,7 @@ AddSubClass("barbarian", "battlerager", {
"With my spiked armor I do 3 piercing damage when I use my Attack action to grapple"
]),
action : ["bonus action", "Armor Spikes attack (in rage)"],
armourOptions : {
armorOptions : {
regExpSearch : /^(?!.*(dragon|draconic|beast))(?=.*spike(d|s))(?=.*armou?r).*$/i,
name : "Spiked armor",
source : ["S", 121],
Expand Down Expand Up @@ -14023,7 +14023,7 @@ FeatsList["dragon fear-xgte"] = {
prerequisite : "Being a Dragonborn",
prereqeval : function(v) { return CurrentRace.known.indexOf('dragonborn') !== -1; },
descriptionFull : "When angered, you radiate menace. You gain the following benefits:\n \u2022 Increase your Strength, Constitution, or Charisma score by 1, to a maximum of 20.\n \u2022 Instead of exhaling destructive energy, you can expend a use of your Breath Weapon trait to roar, forcing each creature of your choice within 30 feet of you to make a Wisdom saving throw (DC 8 + your proficiency bonus + your Charisma modifier). A target automatically succeeds on the save if it can't hear or see you. On a failed save, a target becomes frightened of you for 1 minute. If the frightened target takes any damage, it can repeat the saving throw, ending the effect on itself on a success.",
calculate : "event.value = 'I can use my Breath Weapon to roar instead. Chosen creatures within 30 ft that see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Wis Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened of me for 1 min. A target can repeat the save whenever it takes damage. [+1 Str, Con, or Cha]';",
calculate : "event.value = 'I can use my Breath Weapon to roar instead. Chosen creatures within 30 ft that see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Cha Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened of me for 1 min. A target can repeat the save whenever it takes damage. [+1 Str, Con, or Cha]';",
scorestxt : "+1 Strength, Constitution, or Charisma",
action : [['action', 'Breath Weapon or Dragon Fear', 'Breath Weapon']]
};
Expand Down Expand Up @@ -16887,7 +16887,7 @@ RaceList["envoy warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -16962,7 +16962,7 @@ RaceList["juggernaut warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -17029,7 +17029,7 @@ RaceList["skirmisher warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -25118,7 +25118,7 @@ AddSubClass("sorcerer", "stone sorcery", {
calcChanges : {
hp : "if (classes.known.sorcerer) {extrahp += classes.known.sorcerer.level; extrastring += '\\n + ' + classes.known.sorcerer.level + \" from Stone's Durability (Sorcerer)\"; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*stone)(?=.*durability).*$/i,
name : "Stone's Durability (Con)",
source : ["UA:SO", 4],
Expand Down Expand Up @@ -26070,7 +26070,7 @@ ClassSubList["mystic-immortal"] = {
calcChanges : {
hp : "if (classes.known.mystic) {extrahp += classes.known.mystic.level; extrastring += '\\n + ' + classes.known.mystic.level + ' from Immortal Durability (Mystic)'; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*immortal)(?=.*durability).*$/i,
name : "Immortal Durability (Con)",
source : ["UA:TMC", 7],
Expand Down Expand Up @@ -29902,7 +29902,7 @@ AddSubClass("paladin", "oath of redemption", {
source : ["UA:AToS", 2],
minlevel : 3,
description : "\n " + "When not wearing armor or wielding a shield, my AC is 16 + my Dexterity modifier",
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*armou?r)(?=.*peace).*$/i,
name : "Armor of Peace",
source : ["UA:AToS", 2],
Expand Down Expand Up @@ -30611,7 +30611,7 @@ FeatsList["dragon fear"] = {
prerequisite : "Being a Dragonborn",
prereqeval : function(v) { return CurrentRace.known.indexOf('dragonborn') !== -1; },
descriptionFull : "When angered, you radiate menace. You gain the following benefits:\n \u2022 Increase your Strength or Charisma score by 1, to a maximum of 20.\n \u2022 Instead of exhaling destructive energy, you can roar and expend a use of your breath weapon to force each creature of your choice within 30 feet of you to make a Wisdom saving throw (DC 8 + your proficiency bonus + your Charisma modifier). A target automatically succeeds if it can't hear or see you. On a failed save, a target becomes frightened for 1 minute. If the frightened target takes any damage, it can repeat the saving throw, ending the effect on itself on a success.",
calculate : "event.value = 'I can expend a Breath Weapon use to roar instead. Each creature of my choice within 30 ft that can see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Wis Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened for 1 min. It can repeat the save whenever it takes damage. [+1 Str or Cha]';",
calculate : "event.value = 'I can expend a Breath Weapon use to roar instead. Each creature of my choice within 30 ft that can see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Cha Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened for 1 min. It can repeat the save whenever it takes damage. [+1 Str or Cha]';",
scorestxt : "+1 Strength or Charisma",
action : [['action', 'Breath Weapon or Dragon Fear', 'Breath Weapon']]
};
Expand Down Expand Up @@ -32867,7 +32867,7 @@ AddSubClass("wizard", "school of invention", {
"Only I can attune to it; Creating a new one removes the magic from the previous"
]),
dmgres : ["Force"],
armourOptions : {
armorOptions : {
regExpSearch : /arcanomechanical/i,
name : "Arcanomechanical",
source : ["UA:TS", 3],
Expand Down Expand Up @@ -33628,7 +33628,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -33703,7 +33703,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -33770,7 +33770,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down
4 changes: 2 additions & 2 deletions WotC material/v13/all_WotC_pub+UA.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions WotC material/v13/all_WotC_published.js
Original file line number Diff line number Diff line change
Expand Up @@ -5129,7 +5129,7 @@ MagicItemsList["sword of vengeance"] = {
atkCalc : [
function (fields, v, output) {
if (v.isMeleeWeapon && (/sword|scimitar|rapier/i).test(v.baseWeaponName) && (/of vengeance/i).test(v.WeaponText)) {
output.magic += 1;
output.magic = v.thisWeapon[1] + 1;
}
}, ''
]
Expand Down Expand Up @@ -7398,7 +7398,7 @@ AddSubClass("barbarian", "battlerager", {
"With my spiked armor I do 3 piercing damage when I use my Attack action to grapple"
]),
action : ["bonus action", "Armor Spikes attack (in rage)"],
armourOptions : {
armorOptions : {
regExpSearch : /^(?!.*(dragon|draconic|beast))(?=.*spike(d|s))(?=.*armou?r).*$/i,
name : "Spiked armor",
source : ["S", 121],
Expand Down Expand Up @@ -14022,7 +14022,7 @@ FeatsList["dragon fear-xgte"] = {
prerequisite : "Being a Dragonborn",
prereqeval : function(v) { return CurrentRace.known.indexOf('dragonborn') !== -1; },
descriptionFull : "When angered, you radiate menace. You gain the following benefits:\n \u2022 Increase your Strength, Constitution, or Charisma score by 1, to a maximum of 20.\n \u2022 Instead of exhaling destructive energy, you can expend a use of your Breath Weapon trait to roar, forcing each creature of your choice within 30 feet of you to make a Wisdom saving throw (DC 8 + your proficiency bonus + your Charisma modifier). A target automatically succeeds on the save if it can't hear or see you. On a failed save, a target becomes frightened of you for 1 minute. If the frightened target takes any damage, it can repeat the saving throw, ending the effect on itself on a success.",
calculate : "event.value = 'I can use my Breath Weapon to roar instead. Chosen creatures within 30 ft that see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Wis Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened of me for 1 min. A target can repeat the save whenever it takes damage. [+1 Str, Con, or Cha]';",
calculate : "event.value = 'I can use my Breath Weapon to roar instead. Chosen creatures within 30 ft that see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Cha Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened of me for 1 min. A target can repeat the save whenever it takes damage. [+1 Str, Con, or Cha]';",
scorestxt : "+1 Strength, Constitution, or Charisma",
action : [['action', 'Breath Weapon or Dragon Fear', 'Breath Weapon']]
};
Expand Down Expand Up @@ -16886,7 +16886,7 @@ RaceList["envoy warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -16961,7 +16961,7 @@ RaceList["juggernaut warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -17028,7 +17028,7 @@ RaceList["skirmisher warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/all_WotC_published.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions WotC material/v13/all_WotC_unearthed_arcana.js
Original file line number Diff line number Diff line change
Expand Up @@ -5716,7 +5716,7 @@ AddSubClass("sorcerer", "stone sorcery", {
calcChanges : {
hp : "if (classes.known.sorcerer) {extrahp += classes.known.sorcerer.level; extrastring += '\\n + ' + classes.known.sorcerer.level + \" from Stone's Durability (Sorcerer)\"; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*stone)(?=.*durability).*$/i,
name : "Stone's Durability (Con)",
source : ["UA:SO", 4],
Expand Down Expand Up @@ -6668,7 +6668,7 @@ ClassSubList["mystic-immortal"] = {
calcChanges : {
hp : "if (classes.known.mystic) {extrahp += classes.known.mystic.level; extrastring += '\\n + ' + classes.known.mystic.level + ' from Immortal Durability (Mystic)'; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*immortal)(?=.*durability).*$/i,
name : "Immortal Durability (Con)",
source : ["UA:TMC", 7],
Expand Down Expand Up @@ -10500,7 +10500,7 @@ AddSubClass("paladin", "oath of redemption", {
source : ["UA:AToS", 2],
minlevel : 3,
description : "\n " + "When not wearing armor or wielding a shield, my AC is 16 + my Dexterity modifier",
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*armou?r)(?=.*peace).*$/i,
name : "Armor of Peace",
source : ["UA:AToS", 2],
Expand Down Expand Up @@ -11209,7 +11209,7 @@ FeatsList["dragon fear"] = {
prerequisite : "Being a Dragonborn",
prereqeval : function(v) { return CurrentRace.known.indexOf('dragonborn') !== -1; },
descriptionFull : "When angered, you radiate menace. You gain the following benefits:\n \u2022 Increase your Strength or Charisma score by 1, to a maximum of 20.\n \u2022 Instead of exhaling destructive energy, you can roar and expend a use of your breath weapon to force each creature of your choice within 30 feet of you to make a Wisdom saving throw (DC 8 + your proficiency bonus + your Charisma modifier). A target automatically succeeds if it can't hear or see you. On a failed save, a target becomes frightened for 1 minute. If the frightened target takes any damage, it can repeat the saving throw, ending the effect on itself on a success.",
calculate : "event.value = 'I can expend a Breath Weapon use to roar instead. Each creature of my choice within 30 ft that can see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Wis Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened for 1 min. It can repeat the save whenever it takes damage. [+1 Str or Cha]';",
calculate : "event.value = 'I can expend a Breath Weapon use to roar instead. Each creature of my choice within 30 ft that can see and hear me must make a DC ' + (8 + Number(What('Proficiency Bonus')) + Number(What('Cha Mod'))) + ' Wis save (8 + prof. bonus + Cha mod) or be frightened for 1 min. It can repeat the save whenever it takes damage. [+1 Str or Cha]';",
scorestxt : "+1 Strength or Charisma",
action : [['action', 'Breath Weapon or Dragon Fear', 'Breath Weapon']]
};
Expand Down Expand Up @@ -13465,7 +13465,7 @@ AddSubClass("wizard", "school of invention", {
"Only I can attune to it; Creating a new one removes the magic from the previous"
]),
dmgres : ["Force"],
armourOptions : {
armorOptions : {
regExpSearch : /arcanomechanical/i,
name : "Arcanomechanical",
source : ["UA:TS", 3],
Expand Down Expand Up @@ -14226,7 +14226,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -14301,7 +14301,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -14368,7 +14368,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/all_WotC_unearthed_arcana.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WotC material/v13/pub_20141209_DMG.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ MagicItemsList["sword of vengeance"] = {
atkCalc : [
function (fields, v, output) {
if (v.isMeleeWeapon && (/sword|scimitar|rapier/i).test(v.baseWeaponName) && (/of vengeance/i).test(v.WeaponText)) {
output.magic += 1;
output.magic = v.thisWeapon[1] + 1;
}
}, ''
]
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/pub_20151103_SCAG.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ AddSubClass("barbarian", "battlerager", {
"With my spiked armor I do 3 piercing damage when I use my Attack action to grapple"
]),
action : ["bonus action", "Armor Spikes attack (in rage)"],
armourOptions : {
armorOptions : {
regExpSearch : /^(?!.*(dragon|draconic|beast))(?=.*spike(d|s))(?=.*armou?r).*$/i,
name : "Spiked armor",
source : ["S", 121],
Expand Down
6 changes: 3 additions & 3 deletions WotC material/v13/pub_20180723_WGtE.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ RaceList["envoy warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -327,7 +327,7 @@ RaceList["juggernaut warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -394,7 +394,7 @@ RaceList["skirmisher warforged"] = {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/ua_20170206_Sorcerous-Origins.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ AddSubClass("sorcerer", "stone sorcery", {
calcChanges : {
hp : "if (classes.known.sorcerer) {extrahp += classes.known.sorcerer.level; extrastring += '\\n + ' + classes.known.sorcerer.level + \" from Stone's Durability (Sorcerer)\"; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*stone)(?=.*durability).*$/i,
name : "Stone's Durability (Con)",
source : ["UA:SO", 4],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/ua_20170313_The-Mystic-Class.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ ClassSubList["mystic-immortal"] = {
calcChanges : {
hp : "if (classes.known.mystic) {extrahp += classes.known.mystic.level; extrastring += '\\n + ' + classes.known.mystic.level + ' from Immortal Durability (Mystic)'; }; "
},
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*immortal)(?=.*durability).*$/i,
name : "Immortal Durability (Con)",
source : ["UA:TMC", 7],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/ua_20170327_A-Trio-of-Subclasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ AddSubClass("paladin", "oath of redemption", {
source : ["UA:AToS", 2],
minlevel : 3,
description : "\n " + "When not wearing armor or wielding a shield, my AC is 16 + my Dexterity modifier",
armourOptions : {
armorOptions : {
regExpSearch : /^(?=.*armou?r)(?=.*peace).*$/i,
name : "Armor of Peace",
source : ["UA:AToS", 2],
Expand Down
2 changes: 1 addition & 1 deletion WotC material/v13/ua_20180108_Three-Subclasses.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ AddSubClass("wizard", "school of invention", {
"Only I can attune to it; Creating a new one removes the magic from the previous"
]),
dmgres : ["Force"],
armourOptions : {
armorOptions : {
regExpSearch : /arcanomechanical/i,
name : "Arcanomechanical",
source : ["UA:TS", 3],
Expand Down
6 changes: 3 additions & 3 deletions WotC material/v13/ua_20180723_Races-of-Eberron.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -329,7 +329,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down Expand Up @@ -396,7 +396,7 @@ if (!SourceList.WGtE) {
tDoc.resetForm(['AC Armor Description']);
};
},
armourOptions : [{
armorOptions : [{
regExpSearch : /^(?=.*darkwood)(?=.*core).*$/i,
name : "Darkwood core",
source : [["WGtE", 69], ["UA:RoE", 9]],
Expand Down

0 comments on commit a64f77a

Please sign in to comment.