Skip to content

Commit

Permalink
Implement some tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damnae committed May 2, 2024
1 parent 0057c93 commit c663a9f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/gamecore/tasks/CreateBattleEvent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import BlockLayout from '@/components/BlockLayout.vue';
import EvaluateTargetType from '../EvaluateTargetType.vue';
import EvaluateExpression from '../EvaluateExpression.vue';
import AnyTask from '../AnyTask.vue';
const commitId = inject<string>('commitId') as string
const props = defineProps<{node:GamecoreTask}>()
Expand All @@ -20,6 +21,7 @@
}
Team:string
TotalDamageTeam:string
OnBattleEventCreate:GamecoreTask[]
}
const battleEventId = computed(() =>
Expand Down Expand Up @@ -61,6 +63,15 @@
<BlockLayout v-if="node.DynamicValues" v-for="expression, key in node.DynamicValues" :source="expression">
With <em :title="getHash(key.toString()).toString()">{{ key }}</em> set to <em><EvaluateExpression :expression="expression" /></em>
</BlockLayout>

<template v-if="node.OnBattleEventCreate && node.OnBattleEventCreate.length > 0">
<div class="subblock">
<span class="flow">On BattleEvent Create</span>
<template v-for="n in node.OnBattleEventCreate">
<AnyTask :node="n" />
</template>
</div>
</template>
</template>

</BlockLayout>
Expand Down

0 comments on commit c663a9f

Please sign in to comment.