-
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
9 changed files
with
238 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,22 @@ | ||
<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 | ||
{ | ||
TargetStatusType:string | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Parameter modifier status type is <em>{{ node.TargetStatusType }}</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,21 @@ | ||
<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 | ||
{ | ||
Flag:string | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Has <em>{{ node.Flag }}</em> flag | ||
|
||
</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" :cosmetic="true"> | ||
|
||
Reset the animation speed | ||
<template v-if="node.TargetType"> | ||
of <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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<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 | ||
{ | ||
Level?:string | ||
Message?:string | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node" :cosmetic="true"> | ||
|
||
{{ node.Message }} | ||
|
||
</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,34 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, | ||
DynamicExpression, | ||
} from '@/sources/gamecore'; | ||
import useHashStore from '@/common/hashstore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import EvaluateExpression from '../EvaluateExpression.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
DynamicKey:string | ||
ContextScope:string | ||
ValueList?:DynamicExpression[] | ||
} | ||
if (node.DynamicKey) | ||
useHashStore().register(node.DynamicKey, true) | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Set <em v-if="node.ContextScope">{{ node.ContextScope }}.</em><em>{{ node.DynamicKey }}</em> | ||
to a random value in | ||
<template v-for="value in node.ValueList"> | ||
<em><EvaluateExpression :expression="value" /></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,26 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, | ||
} from '@/sources/gamecore'; | ||
import useHashStore from '@/common/hashstore'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
DynamicKey:string | ||
} | ||
if (node.DynamicKey) | ||
useHashStore().register(node.DynamicKey, true) | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
|
||
Set <em>{{ node.DynamicKey }}</em> to the change in energy | ||
|
||
</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,21 @@ | ||
<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 | ||
{ | ||
SkillName:string | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node" :cosmetic="true"> | ||
|
||
Preload assets for <em>{{ node.SkillName }}</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,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 | ||
{ | ||
TargetType?:GamecoreTargetType | ||
SkillType?:string | ||
IsShow?:boolean | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node" :cosmetic="true"> | ||
|
||
Change | ||
<template v-if="node.TargetType"> | ||
<em><EvaluateTargetType :target="node.TargetType" /></em>'s | ||
</template> | ||
<em>{{ node.SkillType ?? "Basic ATK" }}</em> | ||
to {{ node.IsShow ? "enhanced" : "normal" }} mode | ||
|
||
</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,38 @@ | ||
<script setup lang="ts"> | ||
import { GamecoreTask, | ||
DynamicExpression, | ||
} from '@/sources/gamecore'; | ||
import AnyTask from '../AnyTask.vue'; | ||
import BlockLayout from '@/components/BlockLayout.vue'; | ||
import EvaluateExpression from '../EvaluateExpression.vue'; | ||
const props = defineProps<{node:GamecoreTask}>() | ||
const node = props.node as unknown as | ||
{ | ||
Switch:DynamicExpression | ||
CaseTaskList: | ||
{ | ||
Case:DynamicExpression | ||
TaskList:GamecoreTask[] | ||
}[] | ||
} | ||
</script> | ||
|
||
<template> | ||
<BlockLayout :source="node"> | ||
<span class="flow">Switch <em><EvaluateExpression :expression="node.Switch" /></em></span> | ||
<template #content> | ||
<div class="subblock"> | ||
<template v-for="caseTask in node.CaseTaskList"> | ||
<span class="flow"><em><EvaluateExpression :expression="caseTask.Case" /></em>:</span> | ||
<template v-for="task in caseTask.TaskList"> | ||
<AnyTask :node="task" /> | ||
</template> | ||
</template> | ||
</div> | ||
</template> | ||
</BlockLayout> | ||
</template> | ||
|
||
<style scoped> | ||
</style> |