-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTargetType, GamecoreTask, | ||
} from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import AnyTask from '../AnyTask.vue'; | ||
import EvaluateTargetType from '../EvaluateTargetType.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
TargetType:GamecoreTargetType | ||
Predicate:GamecoreTask | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
<span class="flow">Any in <em><EvaluateTargetType :target="node.TargetType" /></em> with condition</span> | ||
<template #content> | ||
<AnyTask :node="node.Predicate" /> | ||
</template> | ||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, GamecoreTargetType, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import EvaluateTargetType from '../EvaluateTargetType.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
TargetType?:GamecoreTargetType | ||
OriginalAttackType:string | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Change | ||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em>'s | ||
</template> | ||
<em>{{ node.OriginalAttackType }}</em> attacks | ||
to only be considered as its original attack type. | ||
|
||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, | ||
} from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import AnyTask from '@/gamecore/AnyTask.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
Predicate:GamecoreTask | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
<span class="flow">Wait for</span> | ||
<template #content> | ||
<AnyTask :node="node.Predicate" /> | ||
</template> | ||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |