-
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
39 changed files
with
802 additions
and
32 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
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
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 { 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 | ||
{ | ||
Target?:GamecoreTargetType | ||
Enable?:boolean | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node" :cosmetic="true"> | ||
|
||
{{ node.Enable ? "Allow" : "Disallow" }} auto battle to use Ultimate skills | ||
<template v-if="node.Target"> | ||
on <em><EvaluateTargetType :target="node.Target" /></em> | ||
</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,30 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, DynamicExpression, GamecoreTargetType, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import EvaluateExpression from '../EvaluateExpression.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
TargetType?:GamecoreTargetType | ||
CompareType:string | ||
CompareValue:DynamicExpression | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Toughness count is | ||
<template v-if="node.CompareType"> | ||
<em>{{ node.CompareType }}</em> to | ||
</template> | ||
<template v-if="node.CompareValue"> | ||
<em><EvaluateExpression :expression="node.CompareValue" /></em> | ||
</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,39 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, DynamicExpression, GamecoreTargetType, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import EvaluateTargetType from '../EvaluateTargetType.vue'; | ||
import EvaluateExpression from '../EvaluateExpression.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
From?:GamecoreTargetType | ||
To?:GamecoreTargetType | ||
CompareType:string | ||
CompareValue:DynamicExpression | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Distance | ||
<template v-if="node.From"> | ||
from <em><EvaluateTargetType :target="node.From" /></em> | ||
</template> | ||
<template v-if="node.To"> | ||
to <em><EvaluateTargetType :target="node.To" /></em> | ||
</template> | ||
is | ||
<template v-if="node.CompareType"> | ||
<em>{{ node.CompareType }}</em> to | ||
</template> | ||
<template v-if="node.CompareValue"> | ||
<em><EvaluateExpression :expression="node.CompareValue" /></em> | ||
</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,25 @@ | ||
<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 | ||
{ | ||
SummonerType:GamecoreTargetType | ||
ServantType:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<em><EvaluateTargetType :target="node.ServantType" /></em> | ||
is summonned by | ||
<em><EvaluateTargetType :target="node.SummonerType" /></em> | ||
|
||
</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,20 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, } from '@/sources/gamecore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Auto battle is enabled | ||
|
||
</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,25 @@ | ||
<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 | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em> | ||
</template> | ||
is a battle event entity | ||
|
||
</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,25 @@ | ||
<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 | ||
{ | ||
TargetTypeA:GamecoreTargetType | ||
TargetTypeB:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<em><EvaluateTargetType :target="node.TargetTypeA" /></em> | ||
is an enemy of | ||
<em><EvaluateTargetType :target="node.TargetTypeB" /></em> | ||
|
||
</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,30 @@ | ||
<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 | ||
{ | ||
AttackerType?:GamecoreTargetType | ||
TargetType?:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em> | ||
</template> | ||
is weak to | ||
<template v-if="node.AttackerType"> | ||
<em><EvaluateTargetType :target="node.AttackerType" /></em>'s | ||
</template> | ||
element | ||
|
||
</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,30 @@ | ||
<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 | ||
{ | ||
AttackerType?:GamecoreTargetType | ||
TargetType?:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em> | ||
</template> | ||
is weak to | ||
<template v-if="node.AttackerType"> | ||
<em><EvaluateTargetType :target="node.AttackerType" /></em>'s | ||
</template> | ||
current hit's element | ||
|
||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |
30 changes: 30 additions & 0 deletions
30
src/gamecore/tasks/ByTargetIsStanceWeakForCurrentSkill.vue
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,30 @@ | ||
<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 | ||
{ | ||
AttackerType?:GamecoreTargetType | ||
TargetType?:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em> | ||
</template> | ||
is weak to | ||
<template v-if="node.AttackerType"> | ||
<em><EvaluateTargetType :target="node.AttackerType" /></em>'s | ||
</template> | ||
current skill's element | ||
|
||
</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,29 @@ | ||
<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 | ||
{ | ||
SourceType?:GamecoreTargetType | ||
TargetType?:GamecoreTargetType | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Clone weaknesses | ||
<template v-if="node.SourceType"> | ||
from <em><EvaluateTargetType :target="node.SourceType" /></em> | ||
</template> | ||
<template v-if="node.TargetType"> | ||
to <em><EvaluateTargetType :target="node.TargetType" /></em> | ||
</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
Oops, something went wrong.