Moved ammo to its own pseudo property

Triggers now work on ammo
#amo now works as well
This commit is contained in:
Thaum Rystra
2023-09-20 14:03:37 +02:00
parent 3a3deca867
commit d3c533dfa1
6 changed files with 94 additions and 43 deletions

View File

@@ -55,6 +55,11 @@ const ItemSchema = createPropertySchema({
type: Boolean,
defaultValue: false,
},
// Prevent the property from showing up in the log
silent: {
type: Boolean,
optional: true,
},
});
let ComputedOnlyItemSchema = createPropertySchema({

View File

@@ -23,6 +23,7 @@ const timingOptions = {
const actionPropertyTypeOptions = {
action: 'Action',
ammo: 'Ammo used',
adjustment: 'Attribute damage',
branch: 'Branch',
buff: 'Buff',