Started implementing spells in action engine

This commit is contained in:
ThaumRystra
2024-10-27 12:51:48 +02:00
parent 01df7898cc
commit 804c5f3aee
9 changed files with 131 additions and 147 deletions

View File

@@ -37,7 +37,7 @@ const magicSchools = [
'transmutation',
];
let SpellSchema = new SimpleSchema({})
const SpellSchema = new SimpleSchema({})
.extend(ActionSchema)
.extend({
name: {
@@ -115,10 +115,10 @@ let SpellSchema = new SimpleSchema({})
},
});
const ComputedOnlySpellSchema = new SimpleSchema()
const ComputedOnlySpellSchema = new SimpleSchema({})
.extend(ComputedOnlyActionSchema);
const ComputedSpellSchema = new SimpleSchema()
const ComputedSpellSchema = new SimpleSchema({})
.extend(SpellSchema)
.extend(ComputedOnlySpellSchema);