feat(magic): reorder schools, fix Wu Xing aspect & power formula
- `magicOrder` ArrayField + ▲/▼ buttons for manual reordering
- Magic rolls use school's aspect for Wu Xing, not speciality's element
- Spell power: `difficulty × (aspectValue + freePowerLevels)` (not `successes × diff`)
- Prompt replaces `aspectspeciality`/`bonusmalusspeciality`/`heispend` with `freepowerlevels`
fix: code review issues
- combat.js: guard undefined `ids` in rollInitiative
- rolling.js: catch Dice So Nice promise, normalize French→English kungfu aspects
- weapon/armor/ingredient: `{ min: 0 }` on quantity
- character.js/npc.js: catch rollForActor fire-and-forget promises
- roll-actions.js/tinji-app.js: await ChatMessage.create
- sanhei.js: null guard on properties
- spell.js/kungfu.js: fix aspect name comments (French→English)
This commit is contained in:
@@ -217,8 +217,11 @@
|
||||
"CDE.MsgMagic2": "s'élève à ",
|
||||
"CDE.MsgMagic3": ". La puissance à invoquer est de ",
|
||||
"CDE.MsgMagic4": ", si toutefois le sort est lancé avec succès.",
|
||||
"CDE.MoveUp": "Monter",
|
||||
"CDE.MoveDown": "Descendre",
|
||||
"CDE.NPCName": "Nom du PNJ",
|
||||
"CDE.FatSi": "Fat Si",
|
||||
"CDE.FreePowerLevels": "Niveaux de puissance gratuits",
|
||||
"CDE.PNJ": "PNJ",
|
||||
"CDE.Name": "Nom",
|
||||
"CDE.Necromancy": "Nécromancie",
|
||||
|
||||
Reference in New Issue
Block a user