polishing skill selector in DP

This commit is contained in:
Vlyan
2022-02-11 18:51:37 +01:00
parent 165c8c81c7
commit 16dbc7939d
6 changed files with 68 additions and 37 deletions

View File

@@ -1,13 +1,39 @@
# Changelog
## 1.7.0 - DiceRoller for Techniques & Npc Generator
- NPC Sheet : Added random generator feature (demeanor, clan and families names courteously authorized by Edge).
- NPC Sheet :
- Added a random generator feature (Demeanor, Clan and Families names courteously authorized by Edge).
- PC/NPC sheet:
- Added the ability to techniques, with a skill set, to open the DicePicker with presets values.
- Some can interact with targets, but do the default difficulty if none.
- Notes : Techniques in sheet need to be re-imported from the compendium or manually updated for this to work.
- Compendiums :
- Techniques : Added difficulty and skill values (not all techniques).
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.data.data`.
- `|` separator, optional if no min/max.
- `min` or `max` : Between the selected targets search for the min/max of `prop2`. If no `prop2` found, 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`.
- Exemples :
- `@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 id : `melee`, `fitness`...
- Skill category id : `scholar`, `martial`...
- Or both in list, coma separated.
- Ids are english names in lower case, see `config.js / L5R5E.skills` for the list.
- Exemples :
- `theology`
- `melee,ranged,unarmed`
- `martial,fitness,performance`
## 1.6.0 - QoL & SoftLock
- PC/NPC/Armies sheet:
- Added SoftLock functionality.