Armor weight
+ Added weight to armor item + Count armor weight only if not equipped
This commit is contained in:
@@ -453,7 +453,10 @@ export class M5Character extends Actor {
|
||||
};
|
||||
if (item.system.hoarded) {
|
||||
ret.stats.hoard += item.system.value || 0;
|
||||
}
|
||||
};
|
||||
if (item.system.equipped) {
|
||||
ret.stats.encumbrance += 0;
|
||||
} else {ret.stats.encumbrance += item.system.weight || 0}
|
||||
|
||||
ret.gear.armor[item.id] = {
|
||||
label: label,
|
||||
|
||||
Reference in New Issue
Block a user