Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71c03b8a5d | ||
|
|
d6ba994ae6 | ||
|
|
cab98451cd |
@@ -1,6 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
Date format : day/month/year
|
Date format : day/month/year
|
||||||
|
|
||||||
|
## 1.9.5 - 11/01/2023 - Adding Modifiers
|
||||||
|
- Characters can now have bonus endurance/composure/focus/vigilance from conditions (thx to Perkuns).
|
||||||
|
|
||||||
## 1.9.4 - 31/12/2022 - Last bugfixes of the Year !
|
## 1.9.4 - 31/12/2022 - Last bugfixes of the Year !
|
||||||
- Fix prepared settings bugs (trackers icons sometimes disappears).
|
- Fix prepared settings bugs (trackers icons sometimes disappears).
|
||||||
- GM Toolbox : Left clic do only actors with an active player as owner.
|
- GM Toolbox : Left clic do only actors with an active player as owner.
|
||||||
|
|||||||
@@ -162,6 +162,13 @@ export class ActorL5r5e extends Actor {
|
|||||||
system.composure = (Number(system.rings.earth) + Number(system.rings.water)) * 2;
|
system.composure = (Number(system.rings.earth) + Number(system.rings.water)) * 2;
|
||||||
system.focus = Number(system.rings.air) + Number(system.rings.fire);
|
system.focus = Number(system.rings.air) + Number(system.rings.fire);
|
||||||
system.vigilance = Math.ceil((Number(system.rings.air) + Number(system.rings.water)) / 2);
|
system.vigilance = Math.ceil((Number(system.rings.air) + Number(system.rings.water)) / 2);
|
||||||
|
|
||||||
|
// Modifiers from conditions
|
||||||
|
const modifiers = system.modifiers?.character;
|
||||||
|
system.endurance = system.endurance + (Number(modifiers?.endurance) || 0);
|
||||||
|
system.composure = system.composure + (Number(modifiers?.composure) || 0);
|
||||||
|
system.focus = system.focus + (Number(modifiers?.focus) || 0);
|
||||||
|
system.vigilance = system.vigilance + (Number(modifiers?.vigilance) || 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||||
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
||||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.4/raw/l5r5e.zip?job=build",
|
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.9.5/raw/l5r5e.zip?job=build",
|
||||||
"version": "1.9.4",
|
"version": "1.9.5",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": 10,
|
"minimum": 10,
|
||||||
"verified": "10.291"
|
"verified": "10.291"
|
||||||
|
|||||||
Reference in New Issue
Block a user