Push Finished Forbidden Lands,

All stats have been added into the rolling
This commit is contained in:
Jack Condon
2021-10-19 00:48:01 +11:00
parent f4d02cf296
commit c74d27610a
3 changed files with 133 additions and 43 deletions

View File

@@ -106,6 +106,59 @@ export class TokenControl{
};
}
if (stats == 'Agility') { /* forbidden-lands */
const wits = tokenHelper.getAgility(token);
txt += wits.value + "/" + wits.max;
if (icon == 'stats')
uses = {
available: wits.value,
maximum: wits.max,
heart: "#FF0000"
};
}
if (stats == 'Wits') { /* forbidden-lands */
const wits = tokenHelper.getWits(token);
txt += wits.value + "/" + wits.max;
if (icon == 'stats')
uses = {
available: wits.value,
maximum: wits.max,
heart: "#FF0000"
};
}
if (stats == 'Empathy') { /* forbidden-lands */
const wits = tokenHelper.getEmpathy(token);
txt += wits.value + "/" + wits.max;
if (icon == 'stats')
uses = {
available: wits.value,
maximum: wits.max,
heart: "#FF0000"
};
}
if (stats == 'WillPower') { /* forbidden-lands */
const wits = tokenHelper.getWillPower(token);
txt += wits.value + "/" + wits.max;
if (icon == 'stats')
uses = {
available: wits.value,
maximum: wits.max,
heart: "#FF0000"
};
}
if (stats == 'CriticalWounds') { /* WFRP4e */
const criticalWounds = tokenHelper.getCriticalWounds(token);
txt += criticalWounds.value + "/" + criticalWounds.max;