Tragkraft+Containerwert+KiDoPrep
+ Added red flag indicator when item weight in containers is above capacity + Added value count in containers + Added rank for spells and kido
This commit is contained in:
@@ -280,6 +280,7 @@ export class M5Character extends Actor {
|
||||
|
||||
if (!!item.system.containerId) {
|
||||
ret.gear.containers[item.system.containerId].weight += parseFloat((item.system.weight * item.system.quantity).toPrecision(4));
|
||||
ret.gear.containers[item.system.containerId].value += parseFloat(this.calculateValue(item.system.value * item.system.quantity, item.system.currency).toPrecision(3));
|
||||
if (ret.gear.containers[item.system.containerId].equipped) {
|
||||
ret.stats.encumbrance += item.system.weight * item.system.quantity;
|
||||
}
|
||||
|
||||
@@ -439,6 +439,7 @@
|
||||
"agens": "",
|
||||
"reagens": "",
|
||||
"material": "",
|
||||
"rank": 0,
|
||||
"rolls": {
|
||||
"formulas": {
|
||||
"0": {
|
||||
@@ -460,10 +461,11 @@
|
||||
"ap": "",
|
||||
"weapon": "",
|
||||
"ep": "",
|
||||
"rank": "",
|
||||
"rank": 0,
|
||||
"enemy": "",
|
||||
"color": "",
|
||||
"style": "",
|
||||
"grade": "",
|
||||
"rolls": {
|
||||
"formulas": {
|
||||
"0": {
|
||||
|
||||
Reference in New Issue
Block a user