Fixed Error when referencing slotLevel in a spell
This commit is contained in:
@@ -65,7 +65,7 @@ const castSpellWithSlot = new ValidatedMethod({
|
|||||||
action: spell,
|
action: spell,
|
||||||
context: {slotLevel},
|
context: {slotLevel},
|
||||||
creature,
|
creature,
|
||||||
targets: [target],
|
targets: target ? [target] : [],
|
||||||
method: this,
|
method: this,
|
||||||
});
|
});
|
||||||
// Note this only recomputes the top-level creature, not the nearest one
|
// Note this only recomputes the top-level creature, not the nearest one
|
||||||
|
|||||||
Reference in New Issue
Block a user