Release v1.9.0 (VFTT v10)

This commit is contained in:
Vlyan
2022-09-01 22:02:07 +02:00
parent ac5bc5f5b2
commit 49fee9a5dd
8 changed files with 85 additions and 153 deletions

View File

@@ -1,108 +1,59 @@
# Changelog # Changelog
Date format : day/month/year Date format : day/month/year
## 1.9.0 - ??/??/2022 - Foundry v10 Compatibility ## 1.9.0 - 01/09/2022 - Foundry v10 Compatibility
__! Be certain to carefully back up any critical user data before installing this update !__ __! Be certain to carefully back up any critical user data before installing this update !__
- Updated the System to FoundryVTT v10. - Updated the System to FoundryVTT v10.
- Updated the initiative behaviour, he now open the DicePicker for PC and Adversaries locally or remotely. - Updated the initiative behaviour, he now open the DicePicker for PC and Adversaries locally or remotely.
- Added a `game.user.isFirstGM` property for some traitements (socket and migration) to prevent multiple executions with multiple GM connected. - Added a `game.user.isFirstGM` property for some traitements (socket and migration) to prevent multiple executions with multiple GM connected.
- Added socket API `openDicePicker` to remotely open the DicePicker (see usage below). - Added socket API `openDicePicker` to remotely open the DicePicker (see [usage on wiki](https://gitlab.com/teaml5r/l5r5e/-/wikis/dev/sockets.md#opendicepicker)).
- Added chat distinction for roll using target (`@T:`) with `min` or `max` for non disclose the target to players. - Added chat distinction for roll using target (`@T:`) with `min` or `max` for non disclose the target to players.
- Added a distinction when clicking on the dice icon on Chat tab : - Added a distinction when clicking on the dice icon on Chat tab :
- Left clic, open the DP locally (as usual). - Left clic, open the DP locally (as usual).
- Right clic (GM only), now open the DP for players with all skills in list. - Right clic (GM only), now open the DP for players with all skills in list.
- Added `itemUuid`/`item` to DP and `item` in RnK/Roll for the technique or weapon used to be readable in ChatMessage. - Added `itemUuid`/`item` to DP and `item` in RnK/Roll for the technique or weapon used to be readable in ChatMessage.
- Changed `targetInfos` (`name`/`img`) to `target` (`TokenDocument`) on DP/RnK/Roll for better access to the related token. - Replaced `targetInfos` (`name`/`img`) to `target` (`TokenDocument`) on DP/RnK/Roll for better access to the related token.
- Added @UUID link on target and weapon/technique in ChatMessage. - Added `@UUID` link on target and weapon/technique in ChatMessage.
- Added wiki link in system tab. - Added `Wiki` and `Compendium` link in system tab (open wiki page).
- Removed restriction on technique types when dropping a technique (Sheet and 20Q. #39). - Removed restriction on technique types when dropping a technique (Sheet and 20Q. see #39).
- Fixed sync between GM for Combat tracker `initiative encounter type` and `initiative prepared`. - Fixed sync between GM for Combat tracker `initiative encounter type` and `initiative prepared`.
- Compendiums : - Compendiums :
- Added `Writ of the Wild` compendiums.
- Updated Blessed Treasure/Concealed Horror/Nemuranai. - Updated Blessed Treasure/Concealed Horror/Nemuranai.
### OpenDicePicker API usage
#### Fitness skill roll for the all combat targets
```js
game.l5r5e.sockets.openDicePicker({
actors: Array.from(game.user.targets).map(t => t.document.actor),
dpOptions: {
skillId: 'fitness',
difficulty: 3,
}
});
```
#### Initiative roll (skirmish) for all player's character who are in combat tracker
```js
game.l5r5e.sockets.openDicePicker({
actors: game.combat.combatants.filter(c => c.hasPlayerOwner && !c.isDefeated && !c.initiative).map(c => c.actor),
dpOptions: {
skillId: 'tactics',
difficulty: 1,
isInitiativeRoll: true,
}
});
```
#### Melee skill roll with "fire" ring, pre-selected for all the selected tokens
```js
game.l5r5e.sockets.openDicePicker({
actors: canvas.tokens.controlled.map(t => t.actor),
dpOptions: {
ringId: 'fire',
skillId: 'melee',
difficulty: 2,
}
});
```
#### Skill roll with skill list for all active players (but GM)
```js
game.l5r5e.sockets.openDicePicker({
users: game.users.players.filter(u => u.active && u.hasPlayerOwner),
dpOptions: {
ringId: 'water',
skillId: 'unarmed',
skillsList: 'melee,ranged,unarmed',
difficulty: 3,
difficultyHidden: true,
}
});
```
## 1.8.2 - 24/06/2022 - Unofficial Italian translation ## 1.8.2 - 24/06/2022 - Unofficial Italian translation
- Added Unofficial Italian translation (Corebook only for compendiums), all thanks to EldritchTranslator. - Added Unofficial Italian translation (Corebook only for compendiums), all thanks to EldritchTranslator.
- Added French translation for Tables. - Added French translation for Tables.
- Fixed : Translated table names broke the macros. We are now using IDs to avoid that in "L5R5E Macros" compendium. - Fixed : Translated table names broke the macros. We are now using IDs to avoid that in `L5R5E Macros` compendium.
## 1.8.1 - 09/06/2022 - Small bugfixes ## 1.8.1 - 09/06/2022 - Small bugfixes
- Added a restriction on symbols, they are now lower-case only, ex : (air) work, (Air) will not (#36). - Added a restriction on symbols, they are now lower-case only, ex : (air) work, (Air) will not (#36).
- Added some 20q questions in GM monitor global tooltip (q14, q15, q20) for quick access. - Added some 20q questions in GM monitor global tooltip (q14, q15, q20) for quick access.
- Fixed css for body>background-size from auto to cover, for blank scene (Thx to Sasmira). - Fixed css for body>background-size from auto to cover, for blank scene (Thx to Sasmira).
- Fixed css for header buttons in maximized state for "OneJournal" module. - Fixed css for header buttons in maximized state for `OneJournal` module.
- Updated System manifest property "manifestPlusVersion" to 1.2.0, and added screenshots in media section. - Updated System manifest property `manifestPlusVersion` to 1.2.0, and added screenshots in media section.
## 1.8.0 - 29/04/2022 - QoL & Compendiums Update ## 1.8.0 - 29/04/2022 - QoL & Compendiums Update
- Added 179 Japanese villages name table. - Added 179 Japanese villages name table.
- Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract). - Added Rōnin icon and tag symbol `(ronin)` (Thanks to TesserWract).
- Added a different view for GM and Players for hidden roll in ChatMessage. - Added a different view for GM and Players for hidden roll in ChatMessage.
- Fixed : Missing translation for EN and ES - "Armors, Weapons, and Items" in Npc Generator dialog. - Fixed : Missing translation for EN and ES - `Armors, Weapons, and Items` in Npc Generator dialog.
- Compendiums : - Compendiums :
- Added CR missing "Agasha Pattern" Pattern and Property (Thanks to KitCat). - Added CR missing `Agasha Pattern` Pattern and Property (Thanks to KitCat).
- Added "Celestial Implement Boons" compendium (Thanks to TesserWract) - Added `Celestial Implement Boons` compendium (Thanks to TesserWract)
- Updated Weapon Names and Grips (Thanks to TesserWract) : - Updated Weapon Names and Grips (Thanks to TesserWract) :
- Added "N/A" to invalid weapon grips. - Added `N/A` to invalid weapon grips.
- Grips with more than one quality and/or style now use a more consistent format: "(style): Quality 1, Quality 2, ..." - Grips with more than one quality and/or style now use a more consistent format: `(style): Quality 1, Quality 2, ...`
- Renamed "Tinbe-Rochin" to "Rochin" as the DB entry is for the single item rather than the item pair. - Renamed `Tinbe-Rochin` to `Rochin` as the DB entry is for the single item rather than the item pair.
- Added macrons to relevant weapon names. - Added macrons to relevant weapon names.
- Refactor the way of symbols was handled, now compatible with "monks enhanced journal" module. - Refactor the way of symbols was handled, now compatible with `monks enhanced journal` module.
## 1.7.1 - 01/04/2022 - Spring fixes ## 1.7.1 - 01/04/2022 - Spring fixes
- PC/NPC sheet : - PC/NPC sheet :
- Fixed technique with a skill set, in a title, now open the DicePicker as intended. - Fixed technique with a skill set, in a title, now open the DicePicker as intended.
- Roll/DP/RnK : - Roll/DP/RnK :
- Fixed the way an actor is lightweight and re-construct from chat message. This fix minions npc sync with multiple token (missing context). - Fixed the way an actor is lightweight and re-construct from chat message. This fix minions npc sync with multiple token (missing context).
- Added "changelog" and "readme" properties in system.json - Added `changelog` and `readme` properties in system.json
## 1.7.0 - 28/03/2022 - Strife, DiceRoller for Techniques & Npc Generator ## 1.7.0 - 28/03/2022 - Strife, DiceRoller for Techniques & Npc Generator
- NPC Sheet : - NPC Sheet :
@@ -120,7 +71,7 @@ game.l5r5e.sockets.openDicePicker({
- Notes : Techniques in sheet need to be re-imported from the compendium or manually updated for this to work. - Notes : Techniques in sheet need to be re-imported from the compendium or manually updated for this to work.
- Trying an autocomplete on some fields : clan, family, school, roles, demeanor. - Trying an autocomplete on some fields : clan, family, school, roles, demeanor.
- Techniques Sheet & Compendiums : - Techniques Sheet & Compendiums :
- Added difficulty and skill values (not to all techniques). - Added difficulty and skill values (not to all techniques. see [usage on wiki](https://gitlab.com/teaml5r/l5r5e/-/wikis/users/techniques-syntaxe.md)).
- Trying an autocomplete on skill field. - Trying an autocomplete on skill field.
- DicePicker : - DicePicker :
- Added TN hidden difficulty visibility for GM (ex: ?2?). - Added TN hidden difficulty visibility for GM (ex: ?2?).
@@ -140,33 +91,10 @@ game.l5r5e.sockets.openDicePicker({
- Fixed image following the technique_type on technique sheet. - Fixed image following the technique_type on technique sheet.
- Fixed linked actor image compatibility with Tokenizer. - Fixed linked actor image compatibility with Tokenizer.
- Fixed svg height/width for firefox. - Fixed svg height/width for firefox.
- Compendiums : Removed the Phoenix image on "Ishiken Initiate School" school techniques. - Compendiums : Removed the Phoenix image on `Ishiken Initiate School` school techniques.
Technique syntaxe "quick" explanation :
- Difficulty can be :
- Number : 1-9
- Or specific syntaxe "@`S`:`prop1`" or "@`T`:`prop1`|`max`" or "@`T`:`prop1`|`max`(`prop2`)" :
- `@` fixed, trigger the parser
- `T` or `S` : `T`arget or `S`elf, define the actor to get the value.
- `prop1` / `prop2` : Can be any property in `actor` or `actor.system`. Limitations: currently no `size`, `distance` (range) or computation (a+b).
- `|` separator, optional if no min/max.
- `min` or `max` : Between the selected targets, search for the min/max of `prop2`. If no `prop2` provided, take `prop1` as `prop2` (irrelevant for `@S`).
- `(prop2)` : define the property for the actor selection in multiple target, can be omitted if same as `prop1`.
- Examples :
- `@S:vigilance` : Difficulty will be my own `vigilance`.
- `@T:vigilance|min` : Difficulty will be the `vigilance` from the target with the minimum vigilance (implicit) value. it's the same to wrote `@T:vigilance|min(vigilance)`.
- `@T:vigilance|max(statusRank)` : Difficulty will be the `vigilance` from the target with the maximum `statusRank` value.
- Skill can be :
- Skill : `melee`, `fitness`...
- SkillCategory : `scholar`, `martial`...
- Or both in list, coma separated.
- Examples :
- `theology`
- `melee,ranged,unarmed`
- `martial,fitness,performance`
## 1.6.1 - 13/02/2022 - Little Bugfixes ## 1.6.1 - 13/02/2022 - Little Bugfixes
- PC sheet : fixed the "Complete this rank" button who stayed hidden in experience tab. - PC sheet : fixed the `Complete this rank` button who stayed hidden in experience tab.
- GmMonitor : fixed a bug with render when the list was emptied. - GmMonitor : fixed a bug with render when the list was emptied.
- Combat : fixed a null error when sometimes the combatant actor is null. - Combat : fixed a null error when sometimes the combatant actor is null.
@@ -188,7 +116,7 @@ Technique syntaxe "quick" explanation :
- Updated the System to FoundryVTT v9. - Updated the System to FoundryVTT v9.
- Thanks to Perkuns for his help with the CSS for this v9 release. - Thanks to Perkuns for his help with the CSS for this v9 release.
- Fixed armies in combat tracker. - Fixed armies in combat tracker.
- Fixed "traditional-japanese-man.svg" and "traditional-japanese-woman.svg" headers for firefox (x/y/width/height). - Fixed `traditional-japanese-man.svg` and `traditional-japanese-woman.svg` headers for firefox (x/y/width/height).
- Trying to fix advancements behavior, who sometime left point on the old choice. - Trying to fix advancements behavior, who sometime left point on the old choice.
## 1.4.0 - 19/12/2021 - Armies & French PoW ## 1.4.0 - 19/12/2021 - Armies & French PoW
@@ -202,44 +130,44 @@ Technique syntaxe "quick" explanation :
- Compendiums : - Compendiums :
- PoW: - PoW:
- Updated all French compendiums from official French translation. - Updated all French compendiums from official French translation.
- Added missing items pattern : "Spirit of the Qamarist Pattern", "Ghostlands Yodhaniya Pattern" and "Kökejins Heart of the Wind Pattern". - Added missing items pattern : `Spirit of the Qamarist Pattern`, `Ghostlands Yodhaniya Pattern` and `Kökejins Heart of the Wind Pattern`.
- Added missing title : "Astradhari". - Added missing title : `Astradhari`.
- Added mantras : "Summon Mantra : [One Implement]" and "Countering Mantra". - Added mantras : `Summon Mantra : [One Implement]` and `Countering Mantra`.
- Fixed : "Urbane and Worldly" advantage was misspelled "Wroldly" (thx to Cernunnos). - Fixed : `Urbane and Worldly` advantage was misspelled `Wroldly` (thx to Cernunnos).
- Fixed : "Passion for [Foreign Performing Art Form]" from "Passion" to "Distinction" type. - Fixed : `Passion for [Foreign Performing Art Form]` from `Passion` to `Distinction` type.
- Fixed : "Flowering Deceptions" from "Kata" to "Shuji" type. - Fixed : `Flowering Deceptions` from `Kata` to `Shuji` type.
- Added Hooves (weapon) & Arrows (object) - Added `Hooves` (weapon) and `Arrows` (object).
- Added two tables to draw japanese names (1500 males names & 530 females names). - Added two tables to draw japanese names (1500 males names and 530 females names).
- Added some Macros. - Added some Macros.
- Standardization of "great-clans-presentation" pack name to "core-journal-great-clans-presentation". - Standardization of `great-clans-presentation` pack name to `core-journal-great-clans-presentation`.
- SendToChat now check links validity before adding them. - SendToChat now check links validity before adding them.
- New NPC changed from "minion" to "adversary" by default. - New NPC changed from `minion` to `adversary` by default.
- 20Q : Fixed line break in techniques label list. - 20Q : Fixed line break in techniques label list.
## 1.3.5 - 11/10/2021 - DsN hotfix ## 1.3.5 - 11/10/2021 - DsN hotfix
- Fixed a bug introduced by DiceSoNice 4.2.1 : context in "diceSoNiceRollStart" hook rebuild data and lost what we needed. The consequence is 3d dice flood a lot in RnK. - Fixed a bug introduced by DiceSoNice 4.2.1 : context in `diceSoNiceRollStart` hook rebuild data and lost what we needed. The consequence is 3d dice flood a lot in RnK.
## 1.3.4 - 15/09/2021 - Compendiums Update ## 1.3.4 - 15/09/2021 - Compendiums Update
- Fixed a bug with sheet item drop introduced in previous version. - Fixed a bug with sheet item drop introduced in previous version.
- Added FoV English Opportunities usage. - Added FoV English Opportunities usage.
- Compendiums : - Compendiums :
- New icon for Inversion techniques. - New icon for Inversion techniques.
- Opportunities "Conflict use" table : the Air entry for the 2 opportunities was replaced by this real text (copy-past error). - Opportunities `Conflict use` table : the Air entry for the 2 opportunities was replaced by this real text (copy-past error).
- Added missing Mantis "Storm Fleet Tide Seer" school techniques : "Storm Surge" and "Eye of the Storm". - Added missing Mantis `Storm Fleet Tide Seer` school techniques : `Storm Surge` and `Eye of the Storm`.
- Added PoW School Curriculum and Titles. - Added PoW School Curriculum and Titles.
- Fixed Compendiums entries : - Fixed Compendiums entries :
- "Asako Inquisitor School [Crab]" to "Asako Inquisitor School [Phoenix]" - `Asako Inquisitor School [Crab]` to `Asako Inquisitor School [Phoenix]`
- FoV Title : "Elemental Guard" (duplicate) to "Elemental Legionnaire". - FoV Title : `Elemental Guard` (duplicate) to `Elemental Legionnaire`.
- PoW Mastery : "Divine Protection" (duplicate) to "Tower of Ivory". - PoW Mastery : `Divine Protection` (duplicate) to `Tower of Ivory`.
## 1.3.3 - 23/08/2021 - Send'n'Watch ## 1.3.3 - 23/08/2021 - Send'n'Watch
- GM toolbox changes : - GM toolbox changes :
- Added "Reset void point" and "Gm Monitor" buttons. - Added `Reset void point` and `Gm Monitor` buttons.
- "Reset void point", "Sleep" and "Scene End" now use left clic to target only assigned characters, and right clic to do all actors. - `Reset void point`, `Sleep` and `Scene End` now use left clic to target only assigned characters, and right clic to do all actors.
- Added "Gm Monitor", a windows to see summaries of actors : - Added `Gm Monitor`, a windows to see summaries of actors :
- Drop any actor on it to display them. - Drop any actor on it to display them.
- By default, or if the list is empty, all assigned characters will fill it. - By default, or if the list is empty, all assigned characters will fill it.
- Added "send to chat" header buttons on sheets for : - Added `send to chat` header buttons on sheets for :
- Item : Image and description - Item : Image and description
- Actor : Image and public description - Actor : Image and public description
- Journal : Image and description, or full image if no text, or only description if no image. - Journal : Image and description, or full image if no text, or only description if no image.
@@ -250,14 +178,14 @@ Technique syntaxe "quick" explanation :
- Added Opportunity usage helper in Journal Compendium (courteously authorized by Edge). - Added Opportunity usage helper in Journal Compendium (courteously authorized by Edge).
- Fixed Compendiums entries thanks to TesserWract : - Fixed Compendiums entries thanks to TesserWract :
- Weapons: - Weapons:
- Chair, lute, sake bottle and cups, and scroll case use the "Unarmed skill". - Chair, lute, sake bottle and cups, and scroll case use the `Unarmed skill`.
- Changed the umbrella's stab grip to be 2-handed. - Changed the umbrella's stab grip to be 2-handed.
- School Cursus : - School Cursus :
- "Utaku Battle Maiden": Replaced "Striking as Air" with "Courtier's Resolve". - `Utaku Battle Maiden`: Replaced `Striking as Air` with `Courtier's Resolve`.
- Techniques : - Techniques :
- "Disappearing World Style": Ring used changed from "air" to "fire". - `Disappearing World Style`: Ring used changed from `air` to `fire`.
- "Lord Hida's Grip": Added the "(Crab)" prerequisite in title. - `Lord Hida's Grip`: Added the `(Crab)` prerequisite in title.
- "Lord Shiba's Valor": Added the "(Phoenix)" prerequisite in title. - `Lord Shiba's Valor`: Added the `(Phoenix)` prerequisite in title.
- Fixes for RnK : - Fixes for RnK :
- Visibility mode now should be consistent with the 1st message (public, private, gm...). - Visibility mode now should be consistent with the 1st message (public, private, gm...).
- DiceSoNice will now not show the new dice(s) for explosive in non-public mode. - DiceSoNice will now not show the new dice(s) for explosive in non-public mode.
@@ -274,48 +202,48 @@ Technique syntaxe "quick" explanation :
- Added English FoV Terrain Compendium. - Added English FoV Terrain Compendium.
- Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names (courteously authorized by Edge). - Added PoW Name Tables compendium : Qamarist Names, Ivory Kingdoms Names, Rokugani Names and Ujik Names (courteously authorized by Edge).
- Added ability to drop a (Curriculum) Journal to have a link in school experience tab. - Added ability to drop a (Curriculum) Journal to have a link in school experience tab.
- Added properties antagonists (ex : "Sacred" remove "Unholy" on drop). So now properties can have another properties in them. - Added properties antagonists (ex : `Sacred` remove `Unholy` on drop). So now properties can have another properties in them.
- Added a little time saver : when switching between NPC types, now the prototype token is altered this way : Linked actor for Adversary, unlinked for Minion. - Added a little time saver : when switching between NPC types, now the prototype token is altered this way : Linked actor for Adversary, unlinked for Minion.
- Fixed roll for RollTable not showing the text in chat. - Fixed roll for RollTable not showing the text in chat.
- Fixed school compendium: "Kuni Warden School" from "Scorpion" to "Crab". - Fixed school compendium: `Kuni Warden School` from `Scorpion` to `Crab`.
- Fixed some Pdf Copy-Paste error in school cursus that make L instead of I : Lkoma/Lsawa/Luchi... - Fixed some Pdf Copy-Paste error in school cursus that make L instead of I : Lkoma/Lsawa/Luchi...
## 1.3.1 - 16/06/2021 - Empty Sheet Scholar Helper ## 1.3.1 - 16/06/2021 - Empty Sheet Scholar Helper
- Added English/French Journal Compendiums for School Curriculums. - Added English/French Journal Compendiums for School Curriculums.
- Added English/French Curriculums in description for Titles. - Added English/French Curriculums in description for Titles.
- Added English Compendiums for Field of Victory (thanks to mdosantos). - Added English Compendiums for Field of Victory (thanks to mdosantos).
- Added English "Blessed Treasures" in items for Field of Victory (thanks to PlatFleece) - Added English `Blessed Treasures` in items for Field of Victory (thanks to PlatFleece)
- Added English/French "Blessed Treasures" and "Concealed Horror" in items for Shadowlands. - Added English/French `Blessed Treasures` and `Concealed Horror` in items for Shadowlands.
- Added new icons for titles, links, items pattern and scroll signatures. - Added new icons for titles, links, items pattern and scroll signatures.
- QoL : Added label for grips in Weapon sheet (thanks to TesserWract). - QoL : Added label for grips in Weapon sheet (thanks to TesserWract).
- QoL : Added buttons to Add or Subtract money. - QoL : Added buttons to Add or Subtract money.
- Fixed the "empty sheet" bug (I hope). - Fixed the `empty sheet` bug (I hope).
- Fixed the "bought_at_rank" does not change according to the PC rank value when an Item is drop on a sheet. - Fixed the `bought_at_rank` does not change according to the PC rank value when an Item is drop on a sheet.
- Fixed the issue #23 "Token image does not save". Now we reflect the change on the token name/image only if it's a linked actor and if the token/sheet have the same values. - Fixed the issue #23 `Token image does not save`. Now we reflect the change on the token name/image only if it's a linked actor and if the token/sheet have the same values.
- Fixed the "unlink actor data" who still change the Actor Data when editing an unlinked token. - Fixed the `unlink actor data` who still change the Actor Data when editing an unlinked token.
## 1.3.0 - 02/06/2021 - Foundry 0.8 Compatibility ## 1.3.0 - 02/06/2021 - Foundry 0.8 Compatibility
__! Be certain to carefully back up any critical user data before installing this update !__ __! Be certain to carefully back up any critical user data before installing this update !__
- Updated the System to the new version of Foundry VTT (a lot of things broke). - Updated the System to the new version of Foundry VTT (a lot of things broke).
- NPC can now have strengths/weaknesses with all rings. - NPC can now have strengths/weaknesses with all rings.
- Added "Title", "Bond", "Signature Scroll" and "Item Pattern": - Added `Title`, `Bond`, `Signature Scroll` and `Item Pattern`:
- The item types. - The item types.
- Theirs compendiums entries. - Theirs compendiums entries.
- A new list in experience tab to not mess with school cursus. - A new list in experience tab to not mess with school cursus.
- Item patterns : - Item patterns :
- Can be dropped on another item to add the associated property. - Can be dropped on another item to add the associated property.
- To change the linked property, drop any property on the item pattern sheet. - To change the linked property, drop any property on the item pattern sheet.
- Added an optional "Specificity" technique type to serve as a catch-all. - Added an optional `Specificity` technique type to serve as a catch-all.
- Added Mantis clan compendium entries. - Added Mantis clan compendium entries.
- Added a "Description" in PC/NPC sheet: this field is used in limited view ("description" are public, "notes" are private). - Added a `Description` in PC/NPC sheet: this field is used in limited view (`description` are public, `notes` are private).
- PC/NPC : Removed the "titles" field in social. - PC/NPC : Removed the `titles` field in social.
- NPC : Moved the "note" field in social to gain some space, and uniformize with PC. - NPC : Moved the `note` field in social to gain some space, and uniformize with PC.
- Fix : rnkMessage not passing on actor object for NPCs (thanks to Bragma). - Fix : rnkMessage not passing on actor object for NPCs (thanks to Bragma).
- Fix : The "Crescent Moon Style" technique rank from 4 to 2. - Fix : The `Crescent Moon Style` technique rank from 4 to 2.
- Fix : Drop an advancement on a PC/NPC sheet now correctly add the bonus to the Actor (ex Air +1), and the same with remove. - Fix : Drop an advancement on a PC/NPC sheet now correctly add the bonus to the Actor (ex Air +1), and the same with remove.
- QoL : RnK button is now black in chat if no actions are left in roll (new messages only). - QoL : RnK button is now black in chat if no actions are left in roll (new messages only).
- QoL : Added symbols legend in RnK dialog as reminder. - QoL : Added symbols legend in RnK dialog as reminder.
- QoL : Added "(x Max)" display in RnK picker for max number of dice to keep (thanks to Bragma). - QoL : Added `(x Max)` display in RnK picker for max number of dice to keep (thanks to Bragma).
- QoL : When DiceSoNice is enabled, the display of the RnK dialog is delayed by 2s before show-up. - QoL : When DiceSoNice is enabled, the display of the RnK dialog is delayed by 2s before show-up.
- Others minor optimizations (ex: 20q saving multiple item at once). - Others minor optimizations (ex: 20q saving multiple item at once).
@@ -337,17 +265,17 @@ __! Be certain to carefully back up any critical user data before installing thi
- Please note all dice without choice will be discarded for the next step - Please note all dice without choice will be discarded for the next step
- The GM has the ability to undo choices by left-clicking in the status headers - The GM has the ability to undo choices by left-clicking in the status headers
- Limitation: The roll need to only have L5R dice in it (no mixed regular + L5R) - Limitation: The roll need to only have L5R dice in it (no mixed regular + L5R)
- Fix image's behavior on create for all items sub classes - Fix image's behavior on create for all items subclasses
- Click on rings in the PC/PNC sheet now open the DicePicker with the selected ring - Click on rings in the PC/PNC sheet now open the DicePicker with the selected ring
- Added a booster for loading compendium's core items (speed up 20Q) - Added a booster for loading compendium's core items (speed up 20Q)
- Added confirm dialog on item's deletion (Hold "ctrl" on the click, if you want to bypass it) - Added confirm dialog on item's deletion (Hold `ctrl` on the click, if you want to bypass it)
- Added "Sleep" & "Scene End" buttons in "GM ToolBox" (old "difficulty" box) - Added `Sleep` & `Scene End` buttons in `GM ToolBox` (old `difficulty` box)
- Token's bar: - Token's bar:
- The strife bar is now displayed in red if the actor is compromised - The strife bar is now displayed in red if the actor is compromised
- Added an option, off by default, to reverse the fatigue's token bar (thanks to Jzrzmy) - Added an option, off by default, to reverse the fatigue's token bar (thanks to Jzrzmy)
- Added an option, on by default, to set the TN to 1 when the encounter type is selected (Intrigue, Duel, Skirmish or Mass battle) - Added an option, on by default, to set the TN to 1 when the encounter type is selected (Intrigue, Duel, Skirmish or Mass battle)
- Split Techniques & Items by category in actor sheet (pc & npc) for better readability - Split Techniques & Items by category in actor sheet (pc & npc) for better readability
- Armor & Weapon added in the conflict tab now set the "equipped" property by default - Armor & Weapon added in the conflict tab now set the `equipped` property by default
- Added Tabs on NPC sheets - Added Tabs on NPC sheets
- New styles for dice results - New styles for dice results
@@ -382,7 +310,7 @@ __! Be certain to carefully back up any critical user data before installing thi
- Added a GM Dialog Tool for setting global difficulty (TN) value / hidden (with DicePicker live refresh) - Added a GM Dialog Tool for setting global difficulty (TN) value / hidden (with DicePicker live refresh)
- Compendium now display Ring and Rank if any in list view - Compendium now display Ring and Rank if any in list view
- DicePicker : - DicePicker :
- Fixed the initial display of "use a void point" - Fixed the initial display of `use a void point`
- No free void point anymore - No free void point anymore
- PC/NPC Sheet : - PC/NPC Sheet :
- Added a visual indicator for equipped / readied - Added a visual indicator for equipped / readied
@@ -429,12 +357,12 @@ __! Be certain to carefully back up any critical user data before installing thi
- Fix for logo on Firefox - Fix for logo on Firefox
- Visual fix for Firefox and end 20Q edit - Visual fix for Firefox and end 20Q edit
- Fix for no actor dice picker - Fix for no actor dice picker
- Added "add a void point" checkbox, and some fixes - Added `add a void point` checkbox, and some fixes
- Added code fr module translation on README.md - Added code fr module translation on README.md
- Babele is better in setup hook ? - Babele is better in setup hook ?
- Added babele french translation into system - Added babele french translation into system
- Removed DicePiker bulk macro as it was unnecessary now - Removed DicePiker bulk macro as it was unnecessary now
- Fix for Q13: "skill and disadv" OR "adv" - Fix for Q13: `skill and disadv` OR `adv`
- Added some text for 20Q 2dn dice - Added some text for 20Q 2dn dice
- Stop some missing propagation - Stop some missing propagation
- Fix adv tooltip - Fix adv tooltip
@@ -445,12 +373,12 @@ __! Be certain to carefully back up any critical user data before installing thi
- Fix marge on sheet + fix nav on 20Q + clean imgs - Fix marge on sheet + fix nav on 20Q + clean imgs
- 20Q added step18 status, honor and glory for modifier - 20Q added step18 status, honor and glory for modifier
- Add BG and first style for 20Q - Add BG and first style for 20Q
- Added class "roll" for roll in chat - Added class `roll` for roll in chat
- Some styles - Some styles
- Add style for skill types checkboxes - Add style for skill types checkboxes
- Add roll to global game var - Add roll to global game var
- Change file to md - Change file to md
- Added a icon for "void point used" in chat log - Added a icon for `void point used` in chat log
- Fix for 20Q: constructCache only once - Fix for 20Q: constructCache only once
- Fix EN vigilante -> vigilance - Fix EN vigilante -> vigilance
- Update actor for using/get a void point - Update actor for using/get a void point
@@ -466,11 +394,11 @@ __! Be certain to carefully back up any critical user data before installing thi
- Added (ring) and (skill) symbols - Added (ring) and (skill) symbols
- Specific case for school_ability and mastery_ability on drop - Specific case for school_ability and mastery_ability on drop
- Added convertSymbol for item's desc and actor's notes - Added convertSymbol for item's desc and actor's notes
- Fix for "search anywhere" draggable icon - Fix for `search anywhere` draggable icon
- Add ul li style for editor + Adjuste stance + marge on sheets and img - Add ul li style for editor + Adjuste stance + marge on sheets and img
- Remove effects from template.json for tech - Remove effects from template.json for tech
- Update css for item attribute - Update css for item attribute
- added pack for "school_ability" and "mastery_ability" techniques - added pack for `school_ability` and `mastery_ability` techniques
- Added school_ability and mastery_ability types for techniques - Added school_ability and mastery_ability types for techniques
- Update on compendiums - Update on compendiums
- Fix properties description - Fix properties description
@@ -517,7 +445,7 @@ __! Be certain to carefully back up any critical user data before installing thi
## 0.5.0 - Testbed ## 0.5.0 - Testbed
- Fix last bug on items and update json for 0.5.0 Pre-Release - Fix last bug on items and update json for 0.5.0 Pre-Release
- fix using id for toggle - fix using id for toggle
- removed "for" on label - removed `for` on label
- Update item with js expanded function - Update item with js expanded function
- toggle hook - toggle hook
- forced render true on macro - forced render true on macro

View File

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

@@ -283,7 +283,9 @@ export class ActorL5r5e extends Actor {
* @returns {boolean} * @returns {boolean}
*/ */
get canDoInitiativeRoll() { get canDoInitiativeRoll() {
return game.combat?.combatants.some((c) => c.tokenId === this.token?._id && !c.initiative); return game.combat?.combatants.some(
(c) => !c.initiative && (c.tokenId === this.token?._id || (!this.token && c.actorId === this._id))
);
} }
/** /**

View File

@@ -538,7 +538,9 @@ export class DicePickerDialog extends FormApplication {
} }
if (!this._actor.canDoInitiativeRoll) { if (!this._actor.canDoInitiativeRoll) {
ui.notifications.error(game.i18n.localize("l5r5e.conflict.initiative.already_set")); ui.notifications.error(
game.i18n.localize("l5r5e.conflict.initiative.already_set") + ` [${this._actor.name}]`
);
return this.close(); return this.close();
} }
} }

View File

@@ -313,7 +313,7 @@ export default class HooksL5r5e {
// In DsN 4.2.1+ the roll is altered in context. // In DsN 4.2.1+ the roll is altered in context.
// So we need to get the original message instead of "context.roll.l5r5e?.history" // So we need to get the original message instead of "context.roll.l5r5e?.history"
const message = game.messages.get(messageId); const message = game.messages.get(messageId);
if (message?._roll?.l5r5e?.history) { if (message?.rolls?.[0]?.l5r5e?.history) {
context.blind = true; context.blind = true;
} }
} }

File diff suppressed because one or more lines are too long

View File

@@ -128,7 +128,7 @@
} }
} }
fieldset { fieldset {
input[name="data.effects"] { input[name="system.effects"] {
text-align: left; text-align: left;
} }
} }

View File

@@ -11,7 +11,7 @@
"version": "1.9.0", "version": "1.9.0",
"compatibility": { "compatibility": {
"minimum": 10, "minimum": 10,
"verified": "10.277" "verified": "10.283"
}, },
"manifestPlusVersion": "1.2.0", "manifestPlusVersion": "1.2.0",
"socket": true, "socket": true,
@@ -31,7 +31,7 @@
"url": "https://fr.tipeee.com/carter-foundryvtt" "url": "https://fr.tipeee.com/carter-foundryvtt"
} }
], ],
"background": "L5R-Header.webp", "background": "systems/l5r5e/assets/l5r-header.webp",
"scripts": [], "scripts": [],
"esmodules": ["./scripts/main-l5r5e.js"], "esmodules": ["./scripts/main-l5r5e.js"],
"styles": ["./styles/l5r5e.css"], "styles": ["./styles/l5r5e.css"],