Skip to content

Commit

Permalink
Expand min/max of item alterations of hardness (foundryvtt#17383)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam authored Nov 19, 2024
1 parent cb65646 commit c5c6234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/rules/rule-element/item-alteration/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const ITEM_ALTERATION_VALIDATORS = {
required: true,
choices: ["add", "downgrade", "multiply", "override", "remove", "subtract", "upgrade"],
}),
value: new fields.NumberField({ required: true, nullable: false, min: -20, max: 20 } as const),
value: new fields.NumberField({ required: true, nullable: false, min: -100, max: 100 } as const),
}),
"hp-max": new ItemAlterationValidator({
itemType: new fields.StringField({ required: true, choices: Array.from(PHYSICAL_ITEM_TYPES) }),
Expand Down

0 comments on commit c5c6234

Please sign in to comment.