Compare commits

..

2 Commits

Author SHA1 Message Date
Vlyan
5b573a5ed0 CSS Fix for combat tracker : #combat-round -> .combat-tracker-header 2022-09-29 18:14:47 +02:00
Vlyan
1dce3a5444 v1.9.2 - Advancements ownership fix 2022-09-09 09:49:40 +02:00
7 changed files with 18 additions and 9 deletions

View File

@@ -1,6 +1,12 @@
# Changelog
Date format : day/month/year
## 1.9.3 - 29/09/2022 - Combat Tracker
- Fix for L5R combat tracker bar who have disappeared.
## 1.9.2 - 09/09/2022 - Advancements Again
- Fix for advancements ownership (items in items).
## 1.9.1 - 08/09/2022 - Advancements Bugfixes
- Fix for advancements fail to add new items ("_id" readonly error. see #42).

View File

@@ -175,7 +175,7 @@ export default class HooksL5r5e {
if (elmt.length > 0) {
elmt.replaceWith(tpl);
} else {
html.find("#combat-round").append(tpl);
html.find(".combat-tracker-header").append(tpl);
}
// Buttons Listeners

View File

@@ -224,7 +224,9 @@ export class ItemL5r5e extends Item {
}
// Copy the parent permission to the sub item
item.ownership = this.ownership;
// In v10 actor's items inherit the ownership from the actor, but theirs ownership do not reflect that.
// So we must take actor's ownership for sub-item
item.ownership = this.actor?.ownership ?? this.ownership;
// Tag parent (flags won't work as we have no id in db)
item.system.parent_id = this.getParentsIds();

File diff suppressed because one or more lines are too long

View File

@@ -602,8 +602,9 @@ button {
}
// Combat
#combat {
#combat-round {
#combat,
#combat-popout {
.combat-tracker-header {
.encounters {
h3 {
font-size: 0.85rem;

View File

@@ -7,11 +7,11 @@
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.1/raw/l5r5e.zip?job=build",
"version": "1.9.1",
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.3/raw/l5r5e.zip?job=build",
"version": "1.9.3",
"compatibility": {
"minimum": 10,
"verified": "10.284"
"verified": "10.286"
},
"manifestPlusVersion": "1.2.0",
"socket": true,

View File

@@ -24,7 +24,7 @@ Nothing fancy, just accept when FoundryVTT prompt you to download or activate th
| Module name | Notes |
|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Babele](https://foundryvtt.com/packages/babele) | Required for non english compendium translation |
| [Permission Viewer](https://foundryvtt.com/packages/permission_viewer) | Lets you see instantly who has permissions to see what item |
| [Ownership Viewer](https://foundryvtt.com/packages/permission_viewer) | Lets you see instantly who has permissions to see what item |
| [Dice So Nice!](https://foundryvtt.com/packages/dice-so-nice) | Add 3D dices that bounce on the screen when you roll dice |
| [Small Legend of the 5 Rings Tools](https://foundryvtt.com/packages/l5r-dragruler) | Series of tools for L5R |
| [Search Anywhere](https://foundryvtt.com/packages/searchanywhere) | Don't spent too much time searching the right technique |