Backend work to support actions consuming their resources on use

This commit is contained in:
Stefan Zermatten
2020-06-13 23:11:49 +02:00
parent 1535e00093
commit dc18734d1f
11 changed files with 386 additions and 81 deletions

View File

@@ -91,7 +91,7 @@ export function recomputeCreatureById(creatureId){
* - Mark the stat as computed
* - Write the computed results back to the database
*/
function recomputeCreatureByDoc(creature){
export function recomputeCreatureByDoc(creature){
const creatureId = creature._id;
let props = getActiveProperties({
ancestorId: creatureId,