@opfr/raids 0.12.0 → 0.12.1

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.
@@ -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,IA2yQzD,CAAC"}
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,IA4rRzD,CAAC"}
@@ -2849,6 +2849,305 @@ export const happyChristmasRaid = (itemId) => ({
2849
2849
  'end_run_away',
2850
2850
  ],
2851
2851
  },
2852
+ {
2853
+ id: 'uc_try_to_bring_down_box_on_wolf',
2854
+ label: t('raids.happy_christmas.uc_try_to_bring_down_box_on_wolf.label'),
2855
+ output: {
2856
+ id: 'c_try_to_bring_down_box_on_wolf',
2857
+ requirements: itemId ===
2858
+ 'sailing_boat'
2859
+ ? {
2860
+ chance: 90,
2861
+ agility: 90,
2862
+ }
2863
+ : {
2864
+ chance: 100,
2865
+ agility: 100,
2866
+ },
2867
+ success: {
2868
+ id: 'ev_succeed_bring_down_box_on_wolf',
2869
+ title: t('raids.happy_christmas.ev_succeed_bring_down_box_on_wolf.title'),
2870
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_succeed_bring_down_box_on_wolf.text', {
2871
+ rewards: formatRewards('ev_succeed_bring_down_box_on_wolf', obtainedRewards, itemId ===
2872
+ 'rudder'
2873
+ ? {
2874
+ xp: 82500,
2875
+ }
2876
+ : itemId ===
2877
+ 'rescue_boat'
2878
+ ? {
2879
+ xp: 75000,
2880
+ berry: 0,
2881
+ }
2882
+ : {
2883
+ xp: 75000,
2884
+ }, undefined),
2885
+ }),
2886
+ rewards: itemId ===
2887
+ 'rudder'
2888
+ ? {
2889
+ xp: 82500,
2890
+ }
2891
+ : itemId ===
2892
+ 'rescue_boat'
2893
+ ? {
2894
+ xp: 75000,
2895
+ berry: 0,
2896
+ }
2897
+ : {
2898
+ xp: 75000,
2899
+ },
2900
+ penalties: undefined,
2901
+ outputs: [
2902
+ {
2903
+ id: 'goto_free_elf',
2904
+ label: t('raids.happy_christmas.goto_free_elf.label'),
2905
+ goto: [
2906
+ 'uc_continue',
2907
+ 'ev_elf_scared',
2908
+ 'rq_go_to_santa_claus',
2909
+ 'ev_santa_claus_island',
2910
+ 'uc_land_on_santa_claus_island',
2911
+ 'ev_abandoned_village',
2912
+ 'uc_go_forest',
2913
+ 'c_already_meet_giant',
2914
+ 'ev_forest_already_meet_giant',
2915
+ 'uc_follow_giant_trace',
2916
+ 'ev_follow_giant_trace',
2917
+ 'rq_go_in_cavern',
2918
+ 'ev_giant_cavern',
2919
+ 'uc_throw_torch',
2920
+ 'ev_found_elf',
2921
+ 'uc_rundown_wolf',
2922
+ 'c_rundown_wolf',
2923
+ 'ev_beat_wolf',
2924
+ 'uc_free_elf',
2925
+ 'ev_free_elf',
2926
+ ],
2927
+ },
2928
+ ],
2929
+ },
2930
+ failure: {
2931
+ id: 'ev_fail_bring_down_box_on_wolf',
2932
+ title: t('raids.happy_christmas.ev_fail_bring_down_box_on_wolf.title'),
2933
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_fail_bring_down_box_on_wolf.text', {
2934
+ rewards: formatRewards('ev_fail_bring_down_box_on_wolf', obtainedRewards, itemId ===
2935
+ 'rudder'
2936
+ ? {
2937
+ xp: 16500,
2938
+ }
2939
+ : itemId ===
2940
+ 'rescue_boat'
2941
+ ? {
2942
+ xp: 15000,
2943
+ berry: 0,
2944
+ }
2945
+ : {
2946
+ xp: 15000,
2947
+ }, undefined),
2948
+ }),
2949
+ rewards: itemId ===
2950
+ 'rudder'
2951
+ ? {
2952
+ xp: 16500,
2953
+ }
2954
+ : itemId ===
2955
+ 'rescue_boat'
2956
+ ? {
2957
+ xp: 15000,
2958
+ berry: 0,
2959
+ }
2960
+ : {
2961
+ xp: 15000,
2962
+ },
2963
+ penalties: undefined,
2964
+ outputs: [
2965
+ {
2966
+ id: 'uc_rundown_wolf_without_weapon',
2967
+ label: t('raids.happy_christmas.uc_rundown_wolf_without_weapon.label'),
2968
+ output: {
2969
+ id: 'c_rundown_wolf_without_weapon',
2970
+ requirements: itemId ===
2971
+ 'sailing_boat'
2972
+ ? {
2973
+ strength: 112.5,
2974
+ agility: 112.5,
2975
+ }
2976
+ : {
2977
+ strength: 125,
2978
+ agility: 125,
2979
+ },
2980
+ success: {
2981
+ id: 'ev_succeed_rundown_wolf_without_weapon',
2982
+ title: t('raids.happy_christmas.ev_succeed_rundown_wolf_without_weapon.title'),
2983
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_succeed_rundown_wolf_without_weapon.text', {
2984
+ rewards: formatRewards('ev_succeed_rundown_wolf_without_weapon', obtainedRewards, itemId ===
2985
+ 'rudder'
2986
+ ? {
2987
+ xp: 55000,
2988
+ }
2989
+ : itemId ===
2990
+ 'rescue_boat'
2991
+ ? {
2992
+ xp: 50000,
2993
+ berry: 0,
2994
+ }
2995
+ : {
2996
+ xp: 50000,
2997
+ }, itemId ===
2998
+ 'anchor'
2999
+ ? {
3000
+ hp: 25,
3001
+ }
3002
+ : {
3003
+ hp: 50,
3004
+ }),
3005
+ }),
3006
+ rewards: itemId ===
3007
+ 'rudder'
3008
+ ? {
3009
+ xp: 55000,
3010
+ }
3011
+ : itemId ===
3012
+ 'rescue_boat'
3013
+ ? {
3014
+ xp: 50000,
3015
+ berry: 0,
3016
+ }
3017
+ : {
3018
+ xp: 50000,
3019
+ },
3020
+ penalties: itemId ===
3021
+ 'anchor'
3022
+ ? {
3023
+ hp: 25,
3024
+ }
3025
+ : {
3026
+ hp: 50,
3027
+ },
3028
+ outputs: [
3029
+ {
3030
+ id: 'goto_free_elf',
3031
+ label: t('raids.happy_christmas.goto_free_elf.label'),
3032
+ goto: [
3033
+ 'uc_continue',
3034
+ 'ev_elf_scared',
3035
+ 'rq_go_to_santa_claus',
3036
+ 'ev_santa_claus_island',
3037
+ 'uc_land_on_santa_claus_island',
3038
+ 'ev_abandoned_village',
3039
+ 'uc_go_forest',
3040
+ 'c_already_meet_giant',
3041
+ 'ev_forest_already_meet_giant',
3042
+ 'uc_follow_giant_trace',
3043
+ 'ev_follow_giant_trace',
3044
+ 'rq_go_in_cavern',
3045
+ 'ev_giant_cavern',
3046
+ 'uc_throw_torch',
3047
+ 'ev_found_elf',
3048
+ 'uc_rundown_wolf',
3049
+ 'c_rundown_wolf',
3050
+ 'ev_beat_wolf',
3051
+ 'uc_free_elf',
3052
+ 'ev_free_elf',
3053
+ ],
3054
+ },
3055
+ ],
3056
+ },
3057
+ failure: {
3058
+ id: 'ev_failure_rundown_wolf_without_weapon',
3059
+ title: t('raids.happy_christmas.ev_failure_rundown_wolf_without_weapon.title'),
3060
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_failure_rundown_wolf_without_weapon.text', {
3061
+ rewards: formatRewards('ev_failure_rundown_wolf_without_weapon', obtainedRewards, itemId ===
3062
+ 'rudder'
3063
+ ? {
3064
+ xp: 11000,
3065
+ }
3066
+ : itemId ===
3067
+ 'rescue_boat'
3068
+ ? {
3069
+ xp: 10000,
3070
+ berry: 0,
3071
+ }
3072
+ : {
3073
+ xp: 10000,
3074
+ }, itemId ===
3075
+ 'anchor'
3076
+ ? {
3077
+ hp: 150,
3078
+ }
3079
+ : {
3080
+ hp: 300,
3081
+ }),
3082
+ }),
3083
+ rewards: itemId ===
3084
+ 'rudder'
3085
+ ? {
3086
+ xp: 11000,
3087
+ }
3088
+ : itemId ===
3089
+ 'rescue_boat'
3090
+ ? {
3091
+ xp: 10000,
3092
+ berry: 0,
3093
+ }
3094
+ : {
3095
+ xp: 10000,
3096
+ },
3097
+ penalties: itemId ===
3098
+ 'anchor'
3099
+ ? {
3100
+ hp: 150,
3101
+ }
3102
+ : {
3103
+ hp: 300,
3104
+ },
3105
+ outputs: [
3106
+ {
3107
+ id: 'goto_run_away',
3108
+ label: t('raids.happy_christmas.goto_run_away.label'),
3109
+ goto: [
3110
+ 'uc_continue',
3111
+ 'ev_elf_scared',
3112
+ 'rq_go_to_santa_claus',
3113
+ 'ev_santa_claus_island',
3114
+ 'uc_land_on_santa_claus_island',
3115
+ 'ev_abandoned_village',
3116
+ 'uc_go_forest',
3117
+ 'c_already_meet_giant',
3118
+ 'ev_forest_already_meet_giant',
3119
+ 'uc_follow_giant_trace',
3120
+ 'ev_follow_giant_trace',
3121
+ 'rq_go_in_cavern',
3122
+ 'ev_giant_cavern',
3123
+ 'uc_throw_torch',
3124
+ 'ev_found_elf',
3125
+ 'uc_try_to_bring_down_box_on_wolf',
3126
+ 'c_try_to_bring_down_box_on_wolf',
3127
+ 'ev_fail_bring_down_box_on_wolf',
3128
+ 'uc_run_away',
3129
+ 'end_run_away',
3130
+ ],
3131
+ },
3132
+ ],
3133
+ },
3134
+ },
3135
+ },
3136
+ {
3137
+ id: 'uc_run_away',
3138
+ label: t('raids.happy_christmas.uc_run_away.label'),
3139
+ output: {
3140
+ id: 'end_run_away',
3141
+ title: t('raids.happy_christmas.end_run_away.title'),
3142
+ text: t('raids.happy_christmas.end_run_away.text'),
3143
+ rewards: undefined,
3144
+ penalties: undefined,
3145
+ },
3146
+ },
3147
+ ],
3148
+ },
3149
+ },
3150
+ },
2852
3151
  ],
2853
3152
  },
2854
3153
  },