From 38e871a37026b24536cea4bb6430f85cc9381568 Mon Sep 17 00:00:00 2001 From: Vlyan Date: Fri, 10 Sep 2021 19:39:15 +0200 Subject: [PATCH] Added missing Mantis "Storm Fleet Tide Seer" school techniques : "Storm Surge" and "Eye of the Storm". --- CHANGELOG.md | 8 +++++--- system/babele/fr-fr/l5r5e.core-techniques-mastery.json | 6 ++++++ system/babele/fr-fr/l5r5e.core-techniques-school.json | 6 ++++++ system/packs/core-techniques-mastery.db | 1 + system/packs/core-techniques-school.db | 1 + system/scripts/actors/base-sheet.js | 2 +- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f44224..9ff93c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,11 @@ ## 1.3.4 - ? - Added FoV English Opportunities usage. -- Fixed Compendiums entries : - - "Asako Inquisitor School [Crab]" => "Asako Inquisitor School [Phoenix]" - - Opportunities "Conflict use" table : the Air entry for 2 opportunities was replaced by this real text (copy past error). +- Compendiums : + - Added missing Mantis "Storm Fleet Tide Seer" school techniques : "Storm Surge" and "Eye of the Storm". + - Fixed Compendiums entries : + - "Asako Inquisitor School [Crab]" => "Asako Inquisitor School [Phoenix]" + - Opportunities "Conflict use" table : the Air entry for 2 opportunities was replaced by this real text (copy past error). ## 1.3.3 - Send'n'Watch - GM toolbox changes : diff --git a/system/babele/fr-fr/l5r5e.core-techniques-mastery.json b/system/babele/fr-fr/l5r5e.core-techniques-mastery.json index 5c051f2..f0d14d9 100644 --- a/system/babele/fr-fr/l5r5e.core-techniques-mastery.json +++ b/system/babele/fr-fr/l5r5e.core-techniques-mastery.json @@ -550,6 +550,12 @@ "name": "Empty Soul Ki (WIP)", "description": "", "book_reference": "Les Champs de la Victoire" + }, + { + "id": "Storm Surge", + "name": "Onde de tempête", + "description": "", + "book_reference": "Le Clan de la Mante p.6" } ] } diff --git a/system/babele/fr-fr/l5r5e.core-techniques-school.json b/system/babele/fr-fr/l5r5e.core-techniques-school.json index 79f18e7..9dfc598 100644 --- a/system/babele/fr-fr/l5r5e.core-techniques-school.json +++ b/system/babele/fr-fr/l5r5e.core-techniques-school.json @@ -550,6 +550,12 @@ "name": "Oath of Sacrifice (WIP)", "description": "", "book_reference": "Les Champs de la Victoire" + }, + { + "id": "Eye of the Storm", + "name": "L’oeil de la tempête", + "description": "", + "book_reference": "Le Clan de la Mante p.6" } ] } diff --git a/system/packs/core-techniques-mastery.db b/system/packs/core-techniques-mastery.db index 8c45fc3..ecf5c53 100644 --- a/system/packs/core-techniques-mastery.db +++ b/system/packs/core-techniques-mastery.db @@ -89,3 +89,4 @@ {"_id":"L5RCoreMas000089","name":"Attuned Invocation","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.79"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/phoenix.svg","effects":[]} {"_id":"L5RCoreMas000090","name":"With the Soul of a Lion","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.80"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/lion.svg","effects":[]} {"_id":"L5RCoreMas000091","name":"Empty Soul Ki","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.81"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/scorpion.svg","effects":[]} +{"_id":"L5RCoreMas000092","name":"Storm Surge","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"6","bought_at_rank":0,"ring":"void","technique_type":"mastery_ability","xp_cost":"0","description":"","book_reference":"Mantis Clan p.6"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/mantis.svg","effects":[]} diff --git a/system/packs/core-techniques-school.db b/system/packs/core-techniques-school.db index eb71b86..a4f26ab 100644 --- a/system/packs/core-techniques-school.db +++ b/system/packs/core-techniques-school.db @@ -89,3 +89,4 @@ {"_id":"L5RCoreSch000089","name":"Elemental Inspiration","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.79"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/phoenix.svg","effects":[]} {"_id":"L5RCoreSch000090","name":"One with the Pride","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.80"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/lion.svg","effects":[]} {"_id":"L5RCoreSch000091","name":"Oath of Sacrifice","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Fields of Victory p.81"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/scorpion.svg","effects":[]} +{"_id":"L5RCoreSch000092","name":"Eye of the Storm","permission":{"default":0},"type":"technique","data":{"in_curriculum":false,"xp_used":0,"rank":"1","bought_at_rank":0,"ring":"void","technique_type":"school_ability","xp_cost":"0","description":"","book_reference":"Mantis Clan p.6"},"sort":100001,"flags":{},"img":"systems/l5r5e/assets/icons/clans/mantis.svg","effects":[]} diff --git a/system/scripts/actors/base-sheet.js b/system/scripts/actors/base-sheet.js index 28a7ea5..22b0851 100644 --- a/system/scripts/actors/base-sheet.js +++ b/system/scripts/actors/base-sheet.js @@ -239,7 +239,7 @@ export class BaseSheetL5r5e extends ActorSheet { if ( this.actor.data.items.some((embedItem) => { // Search in children - if (embedItem.items?.has(item.data._id)) { + if (embedItem.items instanceof Map && embedItem.items.has(item.data._id)) { return true; } return embedItem.data._id === item.data._id;