Tested and fixed triggers in new action engine

This commit is contained in:
Thaum Rystra
2024-05-14 10:02:54 +02:00
parent 4a52c3af19
commit 195704ed7a
8 changed files with 154 additions and 7 deletions

View File

@@ -54,9 +54,9 @@ type TestCreature = {
}
/**
* A list of 100 random Ids
* get a list of random Ids
*/
export const randomIds = new Array(100).fill(undefined).map(() => Random.id());
export const getRandomIds = (count) => new Array(count).fill(undefined).map(() => Random.id());
/**
* Creates a new Engine Action and applies the specified creature property