Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6213064020 | ||
|
|
b99e0ab952 | ||
|
|
90ea03df33 |
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 1.1.1 - The Huns War
|
||||
- Fix Minion initiative
|
||||
- Fix textarea ninjo/giri
|
||||
|
||||
|
||||
## 1.1.0 - Initiative first !
|
||||
- Added initiative system :
|
||||
- Now use the score rule (the real one if you prefer)
|
||||
|
||||
@@ -59,7 +59,7 @@ export class CombatL5r5e extends Combat {
|
||||
|
||||
if (combatant.actor.data.type === "npc" && combatant.actor.data.data.type === "minion") {
|
||||
// Minion NPCs can generate initiative value without a check, using their focus or vigilance attribute
|
||||
initiative = cfg.prepared.minion ? data.focus : data.is_compromised ? 1 : data.vigilance;
|
||||
initiative = cfg.prepared.minion === "true" ? data.focus : data.is_compromised ? 1 : data.vigilance;
|
||||
} else {
|
||||
// PC and Adversary
|
||||
const isPc = combatant.actor.data.type === "character";
|
||||
@@ -67,9 +67,9 @@ export class CombatL5r5e extends Combat {
|
||||
// prepared is a boolean or if null we get the info in the actor sheet
|
||||
let isPrepared = isPc ? cfg.prepared.character : cfg.prepared.adversary;
|
||||
if (isPrepared === "null") {
|
||||
isPrepared = data.prepared;
|
||||
isPrepared = data.prepared ? "true" : "false";
|
||||
}
|
||||
initiative = isPrepared ? data.focus : data.is_compromised ? 1 : data.vigilance;
|
||||
initiative = isPrepared === "true" ? data.focus : data.is_compromised ? 1 : data.vigilance;
|
||||
|
||||
// Roll formula
|
||||
if (!formula) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "l5r5e",
|
||||
"title": "Legend of the Five Rings (5th Edition)",
|
||||
"description": "This is an authorised multilingual game system En|Fr|Es, for Legend of the Five Rings (5th Edition) by <a href='https://edge-studio.net/'>Edge Studio</a> <p> - Join the official Discord server: <a href='https://discord.gg/foundryvtt'> Official Discord</a></p><p> - Rejoignez la communauté Francophone: <a href='https://discord.gg/pPSDNJk'>Francophone Discord</a></p>",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"minimumCoreVersion": "0.7.9",
|
||||
"compatibleCoreVersion": "0.7.9",
|
||||
"manifestPlusVersion": "1.0.0",
|
||||
@@ -160,5 +160,5 @@
|
||||
],
|
||||
"url": "https://gitlab.com/teaml5r/l5r5e",
|
||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.1.0/raw/l5r5e.zip?job=build"
|
||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.1.1/raw/l5r5e.zip?job=build"
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.social.title' }}</legend>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.ninjo' }}
|
||||
<textarea type="text" name="data.social.ninjo" value="{{data.social.ninjo}}"></textarea>
|
||||
<textarea type="text" name="data.social.ninjo">{{data.social.ninjo}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.giri' }}
|
||||
<textarea type="text" name="data.social.giri" value="{{data.social.giri}}"></textarea>
|
||||
<textarea type="text" name="data.social.giri">{{data.social.giri}}</textarea>
|
||||
</label>
|
||||
<label class="attribute-label">{{ localize 'l5r5e.social.titles' }}
|
||||
<input type="text" name="data.social.titles" value="{{data.social.titles}}" />
|
||||
|
||||
Reference in New Issue
Block a user