Added UI for action branches

This commit is contained in:
Stefan Zermatten
2022-02-09 16:47:38 +02:00
parent 2bdd60b5e8
commit 15ead403a5
16 changed files with 219 additions and 9 deletions

View File

@@ -39,7 +39,6 @@ const dealDamage = new ValidatedMethod({
});
export function dealDamageWork({creature, damageType, amount}){
console.log({damageType, amount})
// Get all the health bars and do damage to them
let healthBars = CreatureProperties.find({
'ancestors.id': creature._id,