WIP
This commit is contained in:
parent
2afaba9827
commit
50eca41fa6
|
|
@ -457,7 +457,7 @@ export class M5Character extends Actor {
|
|||
|
||||
if (!skip?.encumbrance) {
|
||||
const item = context.items.find((x) => x.name === "Belastung");
|
||||
if (ret.stats.encumbrance > data.info.heavyLoad) {
|
||||
if (ret.stats.encumbrance > ret.stats.heavyLoad) {
|
||||
if (!item) {
|
||||
this.createEffect("Belastung", [{ id: "movement", operation: M5ModOperation.DIVISION, type: M5ModType.STAT, value: 2 }]);
|
||||
} else {
|
||||
|
|
@ -467,7 +467,7 @@ export class M5Character extends Actor {
|
|||
},
|
||||
});
|
||||
}
|
||||
} else if (ret.stats.encumbrance <= data.info.heavyLoad) {
|
||||
} else if (ret.stats.encumbrance <= ret.stats.heavyLoad) {
|
||||
if (!!item) {
|
||||
item.update({
|
||||
data: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue