Skip to content

Commit f49bdec

Browse files
authored
support jp strat (#344)
1 parent 164cd0b commit f49bdec

File tree

1 file changed

+193
-1
lines changed

1 file changed

+193
-1
lines changed

SplatoonScripts/Duties/Dawntrail/M12S P2 Clones 2.cs

Lines changed: 193 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace SplatoonScriptsOfficial.Duties.Dawntrail;
2727

2828
public unsafe class M12S_P2_Clones_2 : SplatoonScript
2929
{
30-
public override Metadata Metadata { get; } = new(5, "NightmareXIV");
30+
public override Metadata Metadata { get; } = new(6, "NightmareXIV");
3131
public override HashSet<uint>? ValidTerritories { get; } = [1327];
3232
int IsHovering = -1;
3333

@@ -314,6 +314,198 @@ public override void OnSettingsDraw()
314314
if(AgreedToConfigure)
315315
{
316316
ImGuiEx.TextWrapped(EColor.OrangeBright, "There was an issue that light parties 1 and 2 were flipped. It is now fixed, you should not need any reconfiguration, fix is purely visual. Report any inconsistencies, thank you. ");
317+
318+
if (ImGui.Button("Configure Jp strat"))
319+
{
320+
C.BaseLP1 = false;
321+
C.BaseNum = 3;
322+
C.LP1 = [Direction.W, Direction.SW, Direction.S, Direction.SE];
323+
C.LP2 = [Direction.NW, Direction.N, Direction.NE, Direction.E];
324+
C.LP1Tethers = [TetherKind.Nothing, TetherKind.Defamation, TetherKind.Fan, TetherKind.Stack];
325+
C.LP2Tethers = [TetherKind.Defamation, TetherKind.Fan, TetherKind.Stack, TetherKind.Boss];
326+
C.Phase1Positions =
327+
[
328+
new()
329+
{
330+
[TetherKind.Stack] = new(119, 104),
331+
[TetherKind.Fan] = new(117.5f, 108),
332+
[TetherKind.Defamation] = new(100, 119.5f),
333+
[TetherKind.Boss] = new(111, 100)
334+
},
335+
new()
336+
{
337+
[TetherKind.Stack] = new(119, 97.5f),
338+
[TetherKind.Fan] = new(118, 93),
339+
[TetherKind.Defamation] = new(100, 80.5f),
340+
[TetherKind.Nothing] = new(80.5f, 100)
341+
}
342+
];
343+
C.Phase2Positions =
344+
[
345+
new()
346+
{
347+
[TetherKind.Stack] = new(106, 105.5f),
348+
[TetherKind.Fan] = new(108.5f, 102.5f),
349+
[TetherKind.Defamation] = new(106, 105.5f),
350+
[TetherKind.Boss] = new(106, 95.5f)
351+
},
352+
new()
353+
{
354+
[TetherKind.Stack] = new(106, 95.5f),
355+
[TetherKind.Fan] = new(108.5f, 97.5f),
356+
[TetherKind.Defamation] = new(106, 95.5f),
357+
[TetherKind.Nothing] = new(106, 105.5f)
358+
}
359+
];
360+
C.Phase3Positions =
361+
[
362+
new()
363+
{
364+
[TetherKind.Stack] = new(114, 102.5f),
365+
[TetherKind.Fan] = new(117.5f, 105.5f),
366+
[TetherKind.Defamation] = new(108f, 99.5f),
367+
[TetherKind.Boss] = new(108f, 99.5f)
368+
},
369+
new()
370+
{
371+
[TetherKind.Stack] = new(113.75f, 97f),
372+
[TetherKind.Fan] = new(117.5f, 94.5f),
373+
[TetherKind.Defamation] = new(108f, 99.5f),
374+
[TetherKind.Nothing] = new(108f, 99.5f)
375+
}
376+
];
377+
C.Phase4Positions =
378+
[
379+
new()
380+
{
381+
[TetherKind.Stack] = new(119, 104),
382+
[TetherKind.Fan] = new(117.5f, 108),
383+
[TetherKind.Defamation] = new(110, 90),
384+
[TetherKind.Boss] = new(110, 90)
385+
},
386+
new()
387+
{
388+
[TetherKind.Stack] = new(119, 97.5f),
389+
[TetherKind.Fan] = new(118, 93),
390+
[TetherKind.Defamation] = new(110, 90),
391+
[TetherKind.Nothing] = new(110, 90)
392+
}
393+
];
394+
C.Phase5Positions =
395+
[
396+
new()
397+
{
398+
[TetherKind.Stack] = new(119, 104),
399+
[TetherKind.Fan] = new(117.5f, 108),
400+
[TetherKind.Defamation] = new(110, 110),
401+
[TetherKind.Boss] = new(110, 110)
402+
},
403+
new()
404+
{
405+
[TetherKind.Stack] = new(119, 97.5f),
406+
[TetherKind.Fan] = new(118, 93),
407+
[TetherKind.Defamation] = new(110, 110),
408+
[TetherKind.Nothing] = new(110, 110)
409+
}
410+
];
411+
}
412+
413+
ImGui.SameLine();
414+
if (ImGui.Button("Configure Codex Banana strat"))
415+
{
416+
C.BaseLP1 = true;
417+
C.BaseNum = 0;
418+
C.LP1 = [Direction.W, Direction.NW, Direction.N, Direction.NE];
419+
C.LP2 = [Direction.SW, Direction.S, Direction.SE, Direction.E];
420+
C.LP1Tethers = [TetherKind.Boss, TetherKind.Stack, TetherKind.Fan, TetherKind.Defamation];
421+
C.LP2Tethers = [TetherKind.Stack, TetherKind.Fan, TetherKind.Defamation, TetherKind.Nothing];
422+
C.Phase1Positions =
423+
[
424+
new()
425+
{
426+
[TetherKind.Stack] = new(81, 96),
427+
[TetherKind.Fan] = new(82.5f, 92),
428+
[TetherKind.Defamation] = new(100, 80.5f),
429+
[TetherKind.Boss] = new(89, 100)
430+
},
431+
new()
432+
{
433+
[TetherKind.Stack] = new(81, 102.5f),
434+
[TetherKind.Fan] = new(82, 107),
435+
[TetherKind.Defamation] = new(100, 119.5f),
436+
[TetherKind.Nothing] = new(119.5f, 100)
437+
}
438+
];
439+
C.Phase2Positions =
440+
[
441+
new()
442+
{
443+
[TetherKind.Stack] = new(94, 94.5f),
444+
[TetherKind.Fan] = new(91.5f, 97.5f),
445+
[TetherKind.Defamation] = new(94, 94.5f),
446+
[TetherKind.Boss] = new(94, 104.5f)
447+
},
448+
new()
449+
{
450+
[TetherKind.Stack] = new(94, 104.5f),
451+
[TetherKind.Fan] = new(91.5f, 102.5f),
452+
[TetherKind.Defamation] = new(94, 104.5f),
453+
[TetherKind.Nothing] = new(94, 94.5f)
454+
},
455+
];
456+
C.Phase3Positions =
457+
[
458+
new()
459+
{
460+
[TetherKind.Stack] = new(89, 96.5f),
461+
[TetherKind.Fan] = new(89, 91),
462+
[TetherKind.Defamation] = new(82.5f, 100.5f),
463+
[TetherKind.Boss] = new(82.5f, 100.5f)
464+
},
465+
new()
466+
{
467+
[TetherKind.Stack] = new(89, 103.5f),
468+
[TetherKind.Fan] = new(89f, 109),
469+
[TetherKind.Defamation] = new(82.5f, 100.5f),
470+
[TetherKind.Nothing] = new(82.5f, 100.5f)
471+
},
472+
];
473+
C.Phase4Positions =
474+
[
475+
new()
476+
{
477+
[TetherKind.Stack] = new(81, 96),
478+
[TetherKind.Fan] = new(82.5f, 92),
479+
[TetherKind.Defamation] = new(90, 110),
480+
[TetherKind.Boss] = new(90, 110)
481+
},
482+
new()
483+
{
484+
[TetherKind.Stack] = new(81, 102.5f),
485+
[TetherKind.Fan] = new(82, 107),
486+
[TetherKind.Defamation] = new(90, 110),
487+
[TetherKind.Nothing] = new(90, 110)
488+
},
489+
];
490+
C.Phase5Positions =
491+
[
492+
new()
493+
{
494+
[TetherKind.Stack] = new(81, 96),
495+
[TetherKind.Fan] = new(82.5f, 92),
496+
[TetherKind.Defamation] = new(90, 90),
497+
[TetherKind.Boss] = new(90, 90)
498+
},
499+
new()
500+
{
501+
[TetherKind.Stack] = new(81, 102.5f),
502+
[TetherKind.Fan] = new(82, 107),
503+
[TetherKind.Defamation] = new(90, 90),
504+
[TetherKind.Nothing] = new(90, 90)
505+
},
506+
];
507+
}
508+
317509
ImGuiEx.TextV("Relative North on position");
318510
ImGui.SameLine();
319511
if(ImGui.RadioButton("1", C.BaseNum == 0)) C.BaseNum = 0;

0 commit comments

Comments
 (0)