Skip to content

Commit 5349836

Browse files
committed
修改了回旋式波动炮的展示方式
1 parent cb5c765 commit 5349836

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

wtfdig/src/routes/+page.svelte

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,17 @@
150150
</div>
151151
{/key}
152152
{/each}
153+
{#if strat?.activePivot}
154+
{#each strat.activePivot as step}
155+
{#key [spotlight, alignment]}
156+
<div class="space-y-4 col-span-3">
157+
<div class="uppercase text-xl">{step.mechanic}</div>
158+
<div class="whitespace-pre-wrap text-l">{step.description}</div>
159+
<img src={(step.alignmentImages && step.alignmentImages[alignment]) ? step.alignmentImages[alignment] : step.imageUrl} style:mask-image={getMask(step)} style:transform={step.alignmentTransforms ? step.alignmentTransforms[alignment] : step.transform} />
160+
</div>
161+
{/key}
162+
{/each}
163+
{/if}
153164
{#if strat?.swapNote && strat?.swapStrats}
154165
<div class="col-span-6">
155166
<Accordion class="card variant-ghost-secondary" >

wtfdig/src/routes/+page.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export interface PlayerStrats {
3131
notes: string;
3232
startingArea: StartingArea;
3333
strats: MechanicStrat[];
34+
activePivot?:MechanicStrat[];
3435
swapNote?: string;
3536
swapWarning?: string;
3637
swapStrats?: MechanicStrat[];
@@ -8283,6 +8284,14 @@ const ziyanStrat: Strat = {
82838284
imageUrl: './strats/ziyan/tiles-northwest-aoe-spread.png',
82848285
mask: 'radial-gradient(circle at 63% 42.3%, black 10%, rgba(0, 0, 0, 0.2) 10%)',
82858286
},
8287+
{
8288+
mechanic: '换线',
8289+
description: '十字路口格子的东侧格子',
8290+
imageUrl: './strats/ziyan/tiles-northwest-swap.png',
8291+
mask: 'radial-gradient(circle at 85% 50%, black 12%, rgba(0, 0, 0, 0.2) 12%)'
8292+
},
8293+
],
8294+
activePivot:[
82868295
{
82878296
mechanic: '回旋式波动炮-顺时针',
82888297
description: '你在危险区:\n优先级最高往安全区走',
@@ -8295,12 +8304,6 @@ const ziyanStrat: Strat = {
82958304
imageUrl: './strats/ziyan/tiles-north-ccw.png',
82968305
mask: 'radial-gradient(circle at 6.2% 50%, black 7%, rgba(0, 0, 0, 0.2) 7%)'
82978306
},
8298-
{
8299-
mechanic: '换线',
8300-
description: '十字路口格子的东侧格子',
8301-
imageUrl: './strats/ziyan/tiles-northwest-swap.png',
8302-
mask: 'radial-gradient(circle at 85% 50%, black 12%, rgba(0, 0, 0, 0.2) 12%)'
8303-
},
83048307
],
83058308
swapNote: "我换到了东侧的平台上!现在怎么站?",
83068309
swapWarning:"请迅速挑衅重新建立仇恨,T需要拉BOSS朝场外",

0 commit comments

Comments
 (0)