Skip to content

Commit

Permalink
v0.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Jun 21, 2022
1 parent 25c851a commit f8a1bed
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 24 deletions.
18 changes: 9 additions & 9 deletions data/book/book-crb.json
Original file line number Diff line number Diff line change
Expand Up @@ -3991,6 +3991,12 @@
"entries": [
"Some abilities require you to wield an item, typically a weapon. You're wielding an item any time you're holding it in the number of hands needed to use it effectively. When wielding an item, you're not just carrying it around\u2014you're ready to use it. Other abilities might require you to merely carry or have an item. These apply as long as you have the item on your person; you don't have to wield it."
]
},
{
"type": "data",
"tag": "table",
"name": "Changing Equipment",
"source": "CRB"
}
],
"data": {
Expand All @@ -4004,15 +4010,15 @@
"entries": [
"An item can be broken or destroyed if it takes enough damage. Every item has a {@b Hardness} value. Each time an item takes damage, reduce any damage the item takes by its Hardness. The rest of the damage reduces the item's Hit Points. Normally an item takes damage only when a creature is directly attacking it\u2014commonly targeted items include doors and traps. A creature that attacks you doesn't normally damage your armor or other gear, even if it hits you. However, the {@feat Shield Block} reaction can cause your shield to take damage as you use it to prevent damage to yourself, and some monsters have exceptional abilities that can damage your items.",
"An item that takes damage can become and eventually destroyed. It becomes broken when its Hit Points are equal to or lower than its {@b Broken Threshold} ({@b BT}); once its Hit Points are reduced to 0, it is {@b destroyed}. A broken item has the broken condition until Repaired above its Broken Threshold. Anything that automatically makes an item broken immediately reduces its Hit Points to its Broken Threshold if the item had more Hit Points than that when the effect occurred. If an item has no {@condition Broken} Threshold, then it has no relevant changes to its function due to being broken, but it's still destroyed at 0 Hit Points. (See the broken condition definition on page 273 for more information.) A destroyed item can't be Repaired.",
"An item's Hardness, Hit Points, and {@condition Broken} Threshold usually depend on the material the item is made of. This information appears on page 577.",
"An item's Hardness, Hit Points, and {@condition Broken} Threshold usually depend on the material the item is made of. This information appears in the {@book Materials|CRB|11|Materials} section of {@book Chapter 11: Crafting & Treasure|CRB|11|Chapter 11: Crafting & Treasure}.",
{
"type": "pf2-beige-box",
"page": 273,
"name": "Broken",
"entries": [
"Broken is a condition that affects objects. An object is broken when damage has reduced its Hit Points to equal or less than its Broken Threshold. A broken object can't be used for its normal function, nor does it grant bonuses\u2014 with the exception of armor. Broken armor still grants its item bonus to AC, but it also imparts a status penalty to AC depending on its category: \u20131 for broken light armor, \u20132 for broken medium armor, or \u20133 for broken heavy armor.",
"A {@condition broken} item still imposes penalties and limitations normally incurred by carrying, holding, or wearing it. For example, broken armor would still impose its Dexterity modifier cap, check penalty, and so forth.",
"If an effect makes an item {@condition broken} automatically and the item has more HP than its Broken Threshold, that effect also reduces the item's current HP to the Broken Threshold."
"A broken item still imposes penalties and limitations normally incurred by carrying, holding, or wearing it. For example, broken armor would still impose its Dexterity modifier cap, check penalty, and so forth.",
"If an effect makes an item broken automatically and the item has more HP than its Broken Threshold, that effect also reduces the item's current HP to the Broken Threshold."
]
},
{
Expand All @@ -4022,12 +4028,6 @@
"entries": [
"Inanimate objects and hazards are immune to bleed, death effects, disease, healing, mental effects, necromancy, nonlethal attacks, and poison, as well as the doomed, drained, fatigued, paralyzed, sickened, and unconscious conditions. An item that has a mind is not immune to mental effects. Many objects are immune to other conditions, at the GM's discretion. For instance, a sword has no Speed, so it can't take a penalty to its Speed, but an effect that causes a Speed penalty might work on a moving blade trap."
]
},
{
"type": "data",
"tag": "table",
"name": "Changing Equipment",
"source": "CRB"
}
],
"data": {
Expand Down
19 changes: 12 additions & 7 deletions data/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
"ver": "0.1.2",
"date": "2021-12-28",
"txt": "- Fixed Archetypes page feat list going out of bounds\n- Changed Images button to being a dropdown\n- Improved Sidebars\n- Added LOAG Errata\n- Fixed BUG-62, 63, 64, 65, 66, 82, and 83\n- Add Halcyon Spells filter\n- Add Battle Form Filter to Deities page\n- Fixed Archetype hover pop-ups having wrong padding\n- Added feats SEO pages\n- Added automatic releases on GitHub\n- Added Optional Features\n- (Fixed Typos/Added Tags)"
"txt": "- Fixed Archetypes page feat list going out of bounds\n- Changed Images button to being a dropdown\n- Improved Sidebars\n- Added LOAG Errata\n- Fixed BUG-62, 63, 64, 65, 66, 82, and 83\n- Added Halcyon Spells filter\n- Added Battle Form Filter to Deities page\n- Fixed Archetype hover pop-ups having wrong padding\n- Added feats SEO pages\n- Added automatic releases on GitHub\n- Added Optional Features\n- (Fixed Typos/Added Tags)"
},
{
"ver": "0.1.3",
Expand Down Expand Up @@ -62,7 +62,7 @@
"ver": "0.3.0",
"title": "Random Access Memories",
"date": "2022-03-23",
"txt": "- Started Changelogs!\n- Removed nonsensical heightened data\n- Improved Initiative Tracker conditions menu\n- Added Combo Weapons from Guns & Gears\n- Converted all baseitems into new data structure\n- Changed the default Calendar in GM Screen to the Golarion calendar\n- Add full-page \"pf2-sidebar\" styles and \"entries\" entry\n- Added FEAT-96 and 102\n- Fixed archetype extra feats not being filtered correctly\n- Fixed the patreon banner loading half of Patreon with it\n- Fixed BUG-86 and 87\n- Added gtags analytics\n- Add Lost Omens: World Guide to the Books page\n- Updated the navbar\n- Added a script to replace statblock references upon deployment\n- (Fixed Typos/Added Tags)"
"txt": "- Started Changelogs!\n- Removed nonsensical heightened data\n- Improved Initiative Tracker conditions menu\n- Added Combo Weapons from Guns & Gears\n- Converted all baseitems into new data structure\n- Changed the default Calendar in GM Screen to the Golarion calendar\n- Added full-page \"pf2-sidebar\" styles and \"entries\" entry\n- Added FEAT-96 and 102\n- Fixed archetype extra feats not being filtered correctly\n- Fixed the patreon banner loading half of Patreon with it\n- Fixed BUG-86 and 87\n- Added gtags analytics\n- Added Lost Omens: World Guide to the Books page\n- Updated the navbar\n- Added a script to replace statblock references upon deployment\n- (Fixed Typos/Added Tags)"
},
{
"ver": "0.3.1",
Expand Down Expand Up @@ -118,22 +118,22 @@
{
"ver": "0.5.5",
"date": "2022-06-13",
"txt": "- Fix typo in production script"
"txt": "- Fixed typo in production script"
},
{
"ver": "0.5.6",
"date": "2022-06-13",
"txt": "- Fix production script"
"txt": "- Fixed production script"
},
{
"ver": "0.5.7",
"date": "2022-06-13",
"txt": "- Fix data preparation script\n- Fix service worker script"
"txt": "- Fixed data preparation script\n- Fixed service worker script"
},
{
"ver": "0.5.8",
"date": "2022-06-15",
"txt": "- Fix Ancestry Filters\n- Made copying traits more bearable, as they now include spaces\n- (Typos/Tags)"
"txt": "- Fixed Ancestry Filters\n- Made copying traits more bearable, as they now include spaces\n- (Typos/Tags)"
},
{
"ver": "0.5.9",
Expand All @@ -143,7 +143,12 @@
{
"ver": "0.5.10",
"date": "2022-06-20",
"txt": "- Add missing Vehicles\n- (Typos/Tags)"
"txt": "- Added missing Vehicles\n- (Typos/Tags)"
},
{
"ver": "0.5.11",
"date": "2022-06-21",
"txt": "- Fixed adding creatures to Initiative Tracker on the GM Screen \n- (Typos/Tags)"
}
]
}
2 changes: 1 addition & 1 deletion data/traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -2717,7 +2717,7 @@
"source": "APG",
"page": 101,
"categories": [
"Class"
"Combat"
],
"entries": [
"A hex is a short-term effect generated on the fly from your patron's magic, requiring your familiar to draw from your patron. As such, you can cast only one spell with the hex trait each turn; attempts to cast a second hex spell on the same turn fail and the spellcasting actions are lost."
Expand Down
2 changes: 1 addition & 1 deletion data/vehicles.json
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@
"bot": [
{
"entries": [
"The only way to launch a Hillcross glider is to jump off a steep incline with favorable wind conditions. The glider is uncontrolled and falls 60 feet each round until the pilot successfully Takes Control. If the glider hits the ground before the pilot Takes Control, the pilot and the glider both take falling damage."
"The only way to launch a Hillcross glider is to jump off a steep incline with favorable wind conditions. The glider is uncontrolled and falls 60 feet each round until the pilot successfully {@action Take Control|GMG|Takes Control}. If the glider hits the ground before the pilot {@action Take Control|GMG|Takes Control}, the pilot and the glider both take falling damage."
],
"name": "Starting Drop"
}
Expand Down
6 changes: 3 additions & 3 deletions js/gmscreen-initiativetracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ class InitiativeTracker {

// roll initiative
if (!init && isRollInit) {
$iptScore.val(await pRollInitiative(cr));
$iptScore.val(pRollInitiative(cr));
}

doUpdateHpColors();
Expand Down Expand Up @@ -1417,7 +1417,7 @@ class InitiativeTracker {
})
}));
await Promise.all(toAdd.map(async it => {
const groupInit = cfg.importIsRollGroups && cfg.isRollInit ? await pRollInitiative(it.creature) : null;
const groupInit = cfg.importIsRollGroups && cfg.isRollInit ? pRollInitiative(it.creature) : null;

await Promise.all([...new Array(it.count || 1)].map(async () => {
const hp = `${getTotalHp(it.creature)}`;
Expand All @@ -1427,7 +1427,7 @@ class InitiativeTracker {
displayName: it.creature._displayName,
scaledTo: it.creature._isScaledLvl,
},
i: cfg.isRollInit ? `${cfg.importIsRollGroups ? groupInit : await pRollInitiative(it.creature)}` : null,
i: cfg.isRollInit ? `${cfg.importIsRollGroups ? groupInit : pRollInitiative(it.creature)}` : null,
a: 0,
s: it.creature.source,
c: [],
Expand Down
2 changes: 1 addition & 1 deletion js/gmscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2724,7 +2724,7 @@ class AddMenuSpecialTab extends AddMenuTab {

$(`<hr class="ui-modal__row-sep"/>`).appendTo($tab);

const $wrpText = $(`<div class="ui-modal__row"><span>Basic Text Box <i class="text-muted">(For a spreadsheet or full document editor, use the <b>embed</b> feature with Google Docs/Sheets instead)</i></span></div>`).appendTo($tab);
const $wrpText = $(`<div class="ui-modal__row"><span>Basic Text Box <i class="text-muted">(Use the <b>embed</b> feature with Google Docs for formatting)</i></span></div>`).appendTo($tab);
const $btnText = $(`<button class="btn btn-primary btn-sm">Add</button>`).appendTo($wrpText);
$btnText.on("click", () => {
this.menu.pnl.doPopulate_TextBox();
Expand Down
2 changes: 1 addition & 1 deletion js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if (typeof module !== "undefined") require("./parser.js");

// in deployment, `IS_DEPLOYED = "<version number>";` should be set below.
IS_DEPLOYED = undefined;
VERSION_NUMBER = /* PF2ETOOLS_VERSION__OPEN */"0.5.10"/* PF2ETOOLS_VERSION__CLOSE */;
VERSION_NUMBER = /* PF2ETOOLS_VERSION__OPEN */"0.5.11"/* PF2ETOOLS_VERSION__CLOSE */;
DEPLOYED_STATIC_ROOT = ""; // ""; // FIXME re-enable this when we have a CDN again
IS_VTT = false;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pf2etools",
"author": "Pf2eTools",
"version": "0.5.10",
"version": "0.5.11",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"scripts": {
Expand Down

0 comments on commit f8a1bed

Please sign in to comment.