@opfr/raids 0.11.3 → 0.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +108 -25
- package/dist/index.umd.js +1 -1
- package/dist/raids/happyChristmas.d.ts.map +1 -1
- package/dist/raids/happyChristmas.js +113 -23
- package/dist/raids/happyChristmas.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"happyChristmas.d.ts","sourceRoot":"","sources":["../../src/raids/happyChristmas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,KAAK,EAAE,IAAI,EAAc,MAAM,UAAU,CAAC;AAGjD,eAAO,MAAM,kBAAkB,WAAY,MAAM,GAAG,IAAI,KAAG,
|
|
1
|
+
{"version":3,"file":"happyChristmas.d.ts","sourceRoot":"","sources":["../../src/raids/happyChristmas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,KAAK,EAAE,IAAI,EAAc,MAAM,UAAU,CAAC;AAGjD,eAAO,MAAM,kBAAkB,WAAY,MAAM,GAAG,IAAI,KAAG,IAmzQzD,CAAC"}
|
|
@@ -216,8 +216,8 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
216
216
|
penalties: undefined,
|
|
217
217
|
outputs: [
|
|
218
218
|
{
|
|
219
|
-
id: '
|
|
220
|
-
label: t('raids.happy_christmas.
|
|
219
|
+
id: 'uc_find_bear',
|
|
220
|
+
label: t('raids.happy_christmas.uc_find_bear.label'),
|
|
221
221
|
output: {
|
|
222
222
|
id: 'ev_found_bear',
|
|
223
223
|
title: t('raids.happy_christmas.ev_found_bear.title'),
|
|
@@ -538,25 +538,113 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
538
538
|
penalties: undefined,
|
|
539
539
|
outputs: [
|
|
540
540
|
{
|
|
541
|
-
id: '
|
|
542
|
-
label: t('raids.happy_christmas.
|
|
543
|
-
|
|
544
|
-
'
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
541
|
+
id: 'uc_fight_bear',
|
|
542
|
+
label: t('raids.happy_christmas.uc_fight_bear.label'),
|
|
543
|
+
output: {
|
|
544
|
+
id: 'c_fight_bear',
|
|
545
|
+
requirements: itemId ===
|
|
546
|
+
'sailing_boat'
|
|
547
|
+
? {
|
|
548
|
+
strength: 121.5,
|
|
549
|
+
agility: 121.5,
|
|
550
|
+
}
|
|
551
|
+
: {
|
|
552
|
+
strength: 135,
|
|
553
|
+
agility: 135,
|
|
554
|
+
},
|
|
555
|
+
success: {
|
|
556
|
+
id: 'end_beat_bear',
|
|
557
|
+
title: t('raids.happy_christmas.end_beat_bear.title'),
|
|
558
|
+
text: (obtainedRewards) => t('raids.happy_christmas.end_beat_bear.text', {
|
|
559
|
+
rewards: formatRewards('end_beat_bear', obtainedRewards, itemId ===
|
|
560
|
+
'rudder'
|
|
561
|
+
? {
|
|
562
|
+
christmas_present: 1,
|
|
563
|
+
scroll_intelligence: 1,
|
|
564
|
+
scroll_strength: 1,
|
|
565
|
+
condition: 'bear_beat',
|
|
566
|
+
xp: 0,
|
|
567
|
+
}
|
|
568
|
+
: itemId ===
|
|
569
|
+
'rescue_boat'
|
|
570
|
+
? {
|
|
571
|
+
christmas_present: 1,
|
|
572
|
+
scroll_intelligence: 1,
|
|
573
|
+
scroll_strength: 1,
|
|
574
|
+
condition: 'bear_beat',
|
|
575
|
+
berry: 0,
|
|
576
|
+
}
|
|
577
|
+
: {
|
|
578
|
+
christmas_present: 1,
|
|
579
|
+
scroll_intelligence: 1,
|
|
580
|
+
scroll_strength: 1,
|
|
581
|
+
condition: 'bear_beat',
|
|
582
|
+
}, itemId ===
|
|
583
|
+
'anchor'
|
|
584
|
+
? {
|
|
585
|
+
hp: 100,
|
|
586
|
+
}
|
|
587
|
+
: {
|
|
588
|
+
hp: 200,
|
|
589
|
+
}),
|
|
590
|
+
}),
|
|
591
|
+
rewards: itemId ===
|
|
592
|
+
'rudder'
|
|
593
|
+
? {
|
|
594
|
+
christmas_present: 1,
|
|
595
|
+
scroll_intelligence: 1,
|
|
596
|
+
scroll_strength: 1,
|
|
597
|
+
condition: 'bear_beat',
|
|
598
|
+
xp: 0,
|
|
599
|
+
}
|
|
600
|
+
: itemId ===
|
|
601
|
+
'rescue_boat'
|
|
602
|
+
? {
|
|
603
|
+
christmas_present: 1,
|
|
604
|
+
scroll_intelligence: 1,
|
|
605
|
+
scroll_strength: 1,
|
|
606
|
+
condition: 'bear_beat',
|
|
607
|
+
berry: 0,
|
|
608
|
+
}
|
|
609
|
+
: {
|
|
610
|
+
christmas_present: 1,
|
|
611
|
+
scroll_intelligence: 1,
|
|
612
|
+
scroll_strength: 1,
|
|
613
|
+
condition: 'bear_beat',
|
|
614
|
+
},
|
|
615
|
+
penalties: itemId ===
|
|
616
|
+
'anchor'
|
|
617
|
+
? {
|
|
618
|
+
hp: 100,
|
|
619
|
+
}
|
|
620
|
+
: {
|
|
621
|
+
hp: 200,
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
failure: {
|
|
625
|
+
id: 'end_bear_win',
|
|
626
|
+
title: t('raids.happy_christmas.end_bear_win.title'),
|
|
627
|
+
text: (obtainedRewards) => t('raids.happy_christmas.end_bear_win.text', {
|
|
628
|
+
rewards: formatRewards('end_bear_win', obtainedRewards, undefined, itemId ===
|
|
629
|
+
'anchor'
|
|
630
|
+
? {
|
|
631
|
+
hp: 250,
|
|
632
|
+
}
|
|
633
|
+
: {
|
|
634
|
+
hp: 500,
|
|
635
|
+
}),
|
|
636
|
+
}),
|
|
637
|
+
rewards: undefined,
|
|
638
|
+
penalties: itemId ===
|
|
639
|
+
'anchor'
|
|
640
|
+
? {
|
|
641
|
+
hp: 250,
|
|
642
|
+
}
|
|
643
|
+
: {
|
|
644
|
+
hp: 500,
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
},
|
|
560
648
|
},
|
|
561
649
|
],
|
|
562
650
|
},
|
|
@@ -571,8 +659,8 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
571
659
|
penalties: undefined,
|
|
572
660
|
outputs: [
|
|
573
661
|
{
|
|
574
|
-
id: '
|
|
575
|
-
label: t('raids.happy_christmas.
|
|
662
|
+
id: 'goto_continue',
|
|
663
|
+
label: t('raids.happy_christmas.goto_continue.label'),
|
|
576
664
|
goto: [
|
|
577
665
|
'uc_continue',
|
|
578
666
|
'ev_elf_scared',
|
|
@@ -756,6 +844,7 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
756
844
|
'c_already_beat_or_convince_bear',
|
|
757
845
|
'ev_bear_presents',
|
|
758
846
|
'uc_find_bear',
|
|
847
|
+
'ev_found_bear',
|
|
759
848
|
],
|
|
760
849
|
},
|
|
761
850
|
],
|
|
@@ -904,6 +993,7 @@ export const happyChristmasRaid = (itemId) => ({
|
|
|
904
993
|
'c_already_beat_or_convince_bear',
|
|
905
994
|
'ev_bear_presents',
|
|
906
995
|
'uc_find_bear',
|
|
996
|
+
'ev_found_bear',
|
|
907
997
|
],
|
|
908
998
|
},
|
|
909
999
|
],
|