|
47 | 47 | }
|
48 | 48 |
|
49 | 49 | const p3Urls: Record<string, any> = {
|
50 |
| - 'toxic': {name: 'Toxic P3', url: 'https://raidplan.io/plan/DEijc3hhq_CNGaRg'} |
| 50 | + 'toxic': {name: 'Toxic P3', url: 'https://raidplan.io/plan/DEijc3hhq_CNGaRg'}, |
| 51 | + 'hector': {name: 'Hector P3', url: 'https://www.youtube.com/watch?v=fIYMPk54cJc&t=994s'} |
51 | 52 | }
|
52 | 53 |
|
53 | 54 | $effect(() => {
|
|
127 | 128 | phaseStratMech => {
|
128 | 129 | return {
|
129 | 130 | ...phaseStratMech,
|
| 131 | + description: getStratItem(phaseStratMech.description, phaseStrat.tag), |
130 | 132 | imageUrl: getStratItem(phaseStratMech.imageUrl, phaseStrat.tag),
|
131 | 133 | strats: phaseStratMech.strats && phaseStratMech.strats.filter(strat => (strat.role === role && strat.party === party)).map(
|
132 | 134 | iStrat => {
|
|
153 | 155 | function getStratMechs(stratName: string){
|
154 | 156 | const stratMechs: Record<string, any> = {
|
155 | 157 | 'toxic': {
|
156 |
| - p2: 'toxic', |
| 158 | + p2: 'locked', |
157 | 159 | p3: 'toxic',
|
158 | 160 | },
|
159 | 161 | 'kindred': {
|
|
174 | 176 | function getOptionsString(stratName?: string, role?: Role, party?: number): string {
|
175 | 177 | if (!stratName || !role || !party) return '';
|
176 | 178 | const stratNames: Record<string, string> = {
|
177 |
| - 'toxic': 'Toxic Friends', |
| 179 | + 'toxic': 'Toxic', |
178 | 180 | 'kindred': 'Kindred'
|
179 | 181 | }
|
180 | 182 | const jpRoleAbbrev: Record<string, string> = {
|
|
224 | 226 | if (stratState.p3 === 'toxic') {
|
225 | 227 | stratDiffs.push(`Toxic P3`);
|
226 | 228 | }
|
| 229 | + if (stratState.p3 === 'hector') { |
| 230 | + stratDiffs.push(`Hector P3`); |
| 231 | + } |
227 | 232 | }
|
228 | 233 | if (stratName === 'game8' && roleAbbrev !== jpRoleAbbrev[roleAbbrev]) {
|
229 | 234 | return `${stratNames[stratName]} - ${roleAbbrev}/${jpRoleAbbrev[roleAbbrev]}`;
|
|
285 | 290 | <div class="text-xl mb-2">Which P2/Seeds strat are you using?</div>
|
286 | 291 | </div>
|
287 | 292 | <Segment classes="flex-wrap" name="p2" value={stratState.p2} onValueChange={(e) => (setStratState('p2', e.value))}>
|
288 |
| - <Segment.Item value="toxic">Toxic Friends</Segment.Item> |
| 293 | + <Segment.Item value="toxic">Toxic</Segment.Item> |
289 | 294 | <Segment.Item value="bili">Bilibili</Segment.Item>
|
290 | 295 | <Segment.Item value="alpha">Alpha 1.0</Segment.Item>
|
291 | 296 | <Segment.Item value="alpha2">Alpha 2.0</Segment.Item>
|
|
301 | 306 | </div>
|
302 | 307 | <div>
|
303 | 308 | <Segment classes="flex-wrap shrink" name="p3" value={stratState.p3} onValueChange={(e) => (setStratState('p3', e.value))}>
|
304 |
| - <Segment.Item value="toxic">Toxic Friends</Segment.Item> |
| 309 | + <Segment.Item value="toxic">Toxic</Segment.Item> |
| 310 | + <Segment.Item value="hector">Hector</Segment.Item> |
305 | 311 | </Segment>
|
306 | 312 | </div>
|
307 | 313 | </div>
|
|
354 | 360 | </a>
|
355 | 361 | </div>
|
356 | 362 | {/if}
|
357 |
| - {#if (stratState.p3 && p2Urls[stratState.p3])} |
| 363 | + {#if (stratState.p3 && p3Urls[stratState.p3])} |
358 | 364 | <div>
|
359 | 365 | <a class="inline-flex items-center text-lg text-blue-600 dark:text-blue-500 hover:underline gap-1" target="_blank" rel="noopener noreferrer" href={p3Urls[stratState.p3].url}>{p3Urls[stratState.p3].name}
|
360 | 366 | <ExternalLink />
|
|
0 commit comments