Fixed effects not applying to damage in actions

This commit is contained in:
Thaum Rystra
2024-10-30 10:03:47 +02:00
parent 74bd291426
commit ce9753fa9c
5 changed files with 66 additions and 8 deletions

View File

@@ -205,10 +205,12 @@ describe('Interrupt action system', function () {
function createAction(prop, targetIds?) {
const action: EngineAction = {
creatureId: prop.root.id,
rootPropId: prop._id,
results: [],
taskCount: 0,
targetIds,
task: {
prop,
targetIds,
}
};
return EngineActions.insertAsync(action);
}