@opfr/raids 0.12.12 → 0.12.13

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.
@@ -5997,25 +5997,2115 @@ export const happyChristmasRaid = (itemId) => ({
5997
5997
  : { hp: 200 },
5998
5998
  outputs: [
5999
5999
  {
6000
- id: 'goto_attack',
6001
- label: t('raids.happy_christmas.goto_attack.label'),
6002
- goto: [
6003
- 'uc_continue',
6004
- 'ev_elf_scared',
6005
- 'rq_go_to_santa_claus',
6006
- 'ev_santa_claus_island',
6007
- 'uc_land_on_santa_claus_island',
6008
- 'ev_abandoned_village',
6009
- 'uc_go_forest',
6010
- 'c_already_meet_giant',
6011
- 'ev_forest_not_meet_giant',
6012
- 'uc_continue',
6013
- 'ev_found_santa_claus_house',
6014
- 'uc_approach_carefully',
6015
- 'ev_looking_across_window',
6016
- 'uc_break_door',
6017
- 'ev_jack_frost_hit',
6018
- ],
6000
+ id: 'uc_attack',
6001
+ label: t('raids.happy_christmas.uc_attack.label'),
6002
+ output: {
6003
+ id: 'c_attack',
6004
+ requirements: itemId ===
6005
+ 'sailing_boat'
6006
+ ? {
6007
+ strength: 157.5,
6008
+ agility: 157.5,
6009
+ }
6010
+ : {
6011
+ strength: 175,
6012
+ agility: 175,
6013
+ },
6014
+ success: {
6015
+ id: 'ev_attack_succeed',
6016
+ title: t('raids.happy_christmas.ev_attack_succeed.title'),
6017
+ text: t('raids.happy_christmas.ev_attack_succeed.text'),
6018
+ rewards: undefined,
6019
+ penalties: undefined,
6020
+ outputs: [
6021
+ {
6022
+ id: 'uc_attack_again',
6023
+ label: t('raids.happy_christmas.uc_attack_again.label'),
6024
+ output: {
6025
+ id: 'ev_succeed_attack_again',
6026
+ title: t('raids.happy_christmas.ev_succeed_attack_again.title'),
6027
+ text: t('raids.happy_christmas.ev_succeed_attack_again.text'),
6028
+ rewards: undefined,
6029
+ penalties: undefined,
6030
+ outputs: [
6031
+ {
6032
+ id: 'uc_continue',
6033
+ label: t('raids.happy_christmas.uc_continue.label'),
6034
+ output: {
6035
+ id: 'c_elf_status',
6036
+ requirements: itemId ===
6037
+ 'sailing_boat'
6038
+ ? {
6039
+ conditions: [
6040
+ 'elf_free',
6041
+ ],
6042
+ mode: 'exclude',
6043
+ }
6044
+ : {
6045
+ conditions: [
6046
+ 'elf_free',
6047
+ ],
6048
+ mode: 'exclude',
6049
+ },
6050
+ success: {
6051
+ id: 'end_beat_frost_elf_still_prisoner',
6052
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
6053
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
6054
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
6055
+ 'rudder'
6056
+ ? {
6057
+ condition: 'santa_claus_free',
6058
+ xp: 0,
6059
+ }
6060
+ : itemId ===
6061
+ 'rescue_boat'
6062
+ ? {
6063
+ condition: 'santa_claus_free',
6064
+ berry: 0,
6065
+ }
6066
+ : {
6067
+ condition: 'santa_claus_free',
6068
+ }, undefined),
6069
+ }),
6070
+ rewards: itemId ===
6071
+ 'rudder'
6072
+ ? {
6073
+ condition: 'santa_claus_free',
6074
+ xp: 0,
6075
+ }
6076
+ : itemId ===
6077
+ 'rescue_boat'
6078
+ ? {
6079
+ condition: 'santa_claus_free',
6080
+ berry: 0,
6081
+ }
6082
+ : {
6083
+ condition: 'santa_claus_free',
6084
+ },
6085
+ penalties: undefined,
6086
+ },
6087
+ failure: {
6088
+ id: 'end_beat_frost_elf_free',
6089
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
6090
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
6091
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
6092
+ 'rudder'
6093
+ ? {
6094
+ xp: 550000,
6095
+ sugar_cane_christmas: 1000,
6096
+ berry: 500000000,
6097
+ condition: 'santa_claus_free',
6098
+ title: 'Héros de Noël',
6099
+ }
6100
+ : itemId ===
6101
+ 'rescue_boat'
6102
+ ? {
6103
+ xp: 500000,
6104
+ sugar_cane_christmas: 1000,
6105
+ berry: 750000000,
6106
+ condition: 'santa_claus_free',
6107
+ title: 'Héros de Noël',
6108
+ }
6109
+ : {
6110
+ xp: 500000,
6111
+ sugar_cane_christmas: 1000,
6112
+ berry: 500000000,
6113
+ condition: 'santa_claus_free',
6114
+ title: 'Héros de Noël',
6115
+ }, undefined),
6116
+ }),
6117
+ rewards: itemId ===
6118
+ 'rudder'
6119
+ ? {
6120
+ xp: 550000,
6121
+ sugar_cane_christmas: 1000,
6122
+ berry: 500000000,
6123
+ condition: 'santa_claus_free',
6124
+ title: 'Héros de Noël',
6125
+ }
6126
+ : itemId ===
6127
+ 'rescue_boat'
6128
+ ? {
6129
+ xp: 500000,
6130
+ sugar_cane_christmas: 1000,
6131
+ berry: 750000000,
6132
+ condition: 'santa_claus_free',
6133
+ title: 'Héros de Noël',
6134
+ }
6135
+ : {
6136
+ xp: 500000,
6137
+ sugar_cane_christmas: 1000,
6138
+ berry: 500000000,
6139
+ condition: 'santa_claus_free',
6140
+ title: 'Héros de Noël',
6141
+ },
6142
+ penalties: undefined,
6143
+ },
6144
+ },
6145
+ },
6146
+ ],
6147
+ },
6148
+ },
6149
+ ],
6150
+ },
6151
+ failure: {
6152
+ id: 'ev_fail_attack_on_jack_frost',
6153
+ title: t('raids.happy_christmas.ev_fail_attack_on_jack_frost.title'),
6154
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_fail_attack_on_jack_frost.text', {
6155
+ rewards: formatRewards('ev_fail_attack_on_jack_frost', obtainedRewards, undefined, itemId ===
6156
+ 'anchor'
6157
+ ? {
6158
+ hp: 100,
6159
+ }
6160
+ : {
6161
+ hp: 200,
6162
+ }),
6163
+ }),
6164
+ rewards: undefined,
6165
+ penalties: itemId ===
6166
+ 'anchor'
6167
+ ? {
6168
+ hp: 100,
6169
+ }
6170
+ : {
6171
+ hp: 200,
6172
+ },
6173
+ outputs: [
6174
+ {
6175
+ id: 'uc_attack_again',
6176
+ label: t('raids.happy_christmas.uc_attack_again.label'),
6177
+ output: {
6178
+ id: 'c_attack_again',
6179
+ requirements: itemId ===
6180
+ 'sailing_boat'
6181
+ ? {
6182
+ strength: 135,
6183
+ agility: 135,
6184
+ }
6185
+ : {
6186
+ strength: 150,
6187
+ agility: 150,
6188
+ },
6189
+ success: {
6190
+ id: 'ev_succeed_attack_again',
6191
+ title: t('raids.happy_christmas.ev_succeed_attack_again.title'),
6192
+ text: t('raids.happy_christmas.ev_succeed_attack_again.text'),
6193
+ rewards: undefined,
6194
+ penalties: undefined,
6195
+ outputs: [
6196
+ {
6197
+ id: 'uc_continue',
6198
+ label: t('raids.happy_christmas.uc_continue.label'),
6199
+ output: {
6200
+ id: 'c_status_elf',
6201
+ requirements: itemId ===
6202
+ 'sailing_boat'
6203
+ ? {
6204
+ conditions: [
6205
+ 'elf_free',
6206
+ ],
6207
+ mode: 'exclude',
6208
+ }
6209
+ : {
6210
+ conditions: [
6211
+ 'elf_free',
6212
+ ],
6213
+ mode: 'exclude',
6214
+ },
6215
+ success: {
6216
+ id: 'end_beat_frost_elf_still_prisoner',
6217
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
6218
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
6219
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
6220
+ 'rudder'
6221
+ ? {
6222
+ condition: 'santa_claus_free',
6223
+ xp: 0,
6224
+ }
6225
+ : itemId ===
6226
+ 'rescue_boat'
6227
+ ? {
6228
+ condition: 'santa_claus_free',
6229
+ berry: 0,
6230
+ }
6231
+ : {
6232
+ condition: 'santa_claus_free',
6233
+ }, undefined),
6234
+ }),
6235
+ rewards: itemId ===
6236
+ 'rudder'
6237
+ ? {
6238
+ condition: 'santa_claus_free',
6239
+ xp: 0,
6240
+ }
6241
+ : itemId ===
6242
+ 'rescue_boat'
6243
+ ? {
6244
+ condition: 'santa_claus_free',
6245
+ berry: 0,
6246
+ }
6247
+ : {
6248
+ condition: 'santa_claus_free',
6249
+ },
6250
+ penalties: undefined,
6251
+ },
6252
+ failure: {
6253
+ id: 'end_beat_frost_elf_free',
6254
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
6255
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
6256
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
6257
+ 'rudder'
6258
+ ? {
6259
+ xp: 550000,
6260
+ sugar_cane_christmas: 1000,
6261
+ berry: 500000000,
6262
+ condition: 'santa_claus_free',
6263
+ title: 'Héros de Noël',
6264
+ }
6265
+ : itemId ===
6266
+ 'rescue_boat'
6267
+ ? {
6268
+ xp: 500000,
6269
+ sugar_cane_christmas: 1000,
6270
+ berry: 750000000,
6271
+ condition: 'santa_claus_free',
6272
+ title: 'Héros de Noël',
6273
+ }
6274
+ : {
6275
+ xp: 500000,
6276
+ sugar_cane_christmas: 1000,
6277
+ berry: 500000000,
6278
+ condition: 'santa_claus_free',
6279
+ title: 'Héros de Noël',
6280
+ }, undefined),
6281
+ }),
6282
+ rewards: itemId ===
6283
+ 'rudder'
6284
+ ? {
6285
+ xp: 550000,
6286
+ sugar_cane_christmas: 1000,
6287
+ berry: 500000000,
6288
+ condition: 'santa_claus_free',
6289
+ title: 'Héros de Noël',
6290
+ }
6291
+ : itemId ===
6292
+ 'rescue_boat'
6293
+ ? {
6294
+ xp: 500000,
6295
+ sugar_cane_christmas: 1000,
6296
+ berry: 750000000,
6297
+ condition: 'santa_claus_free',
6298
+ title: 'Héros de Noël',
6299
+ }
6300
+ : {
6301
+ xp: 500000,
6302
+ sugar_cane_christmas: 1000,
6303
+ berry: 500000000,
6304
+ condition: 'santa_claus_free',
6305
+ title: 'Héros de Noël',
6306
+ },
6307
+ penalties: undefined,
6308
+ },
6309
+ },
6310
+ },
6311
+ ],
6312
+ },
6313
+ failure: {
6314
+ id: 'ev_failed_attack_again',
6315
+ title: t('raids.happy_christmas.ev_failed_attack_again.title'),
6316
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_failed_attack_again.text', {
6317
+ rewards: formatRewards('ev_failed_attack_again', obtainedRewards, undefined, itemId ===
6318
+ 'anchor'
6319
+ ? {
6320
+ hp: 75,
6321
+ }
6322
+ : {
6323
+ hp: 150,
6324
+ }),
6325
+ }),
6326
+ rewards: undefined,
6327
+ penalties: itemId ===
6328
+ 'anchor'
6329
+ ? {
6330
+ hp: 75,
6331
+ }
6332
+ : {
6333
+ hp: 150,
6334
+ },
6335
+ outputs: [
6336
+ {
6337
+ id: 'uc_attack_again_again',
6338
+ label: t('raids.happy_christmas.uc_attack_again_again.label'),
6339
+ output: {
6340
+ id: 'c_attack_again_again',
6341
+ requirements: itemId ===
6342
+ 'sailing_boat'
6343
+ ? {
6344
+ strength: 112.5,
6345
+ agility: 112.5,
6346
+ }
6347
+ : {
6348
+ strength: 125,
6349
+ agility: 125,
6350
+ },
6351
+ success: {
6352
+ id: 'ev_succeed_attack_again',
6353
+ title: t('raids.happy_christmas.ev_succeed_attack_again.title'),
6354
+ text: t('raids.happy_christmas.ev_succeed_attack_again.text'),
6355
+ rewards: undefined,
6356
+ penalties: undefined,
6357
+ outputs: [
6358
+ {
6359
+ id: 'uc_continue',
6360
+ label: t('raids.happy_christmas.uc_continue.label'),
6361
+ output: {
6362
+ id: 'c_elf_status',
6363
+ requirements: itemId ===
6364
+ 'sailing_boat'
6365
+ ? {
6366
+ conditions: [
6367
+ 'elf_free',
6368
+ ],
6369
+ mode: 'exclude',
6370
+ }
6371
+ : {
6372
+ conditions: [
6373
+ 'elf_free',
6374
+ ],
6375
+ mode: 'exclude',
6376
+ },
6377
+ success: {
6378
+ id: 'end_beat_frost_elf_still_prisoner',
6379
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
6380
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
6381
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
6382
+ 'rudder'
6383
+ ? {
6384
+ condition: 'santa_claus_free',
6385
+ xp: 0,
6386
+ }
6387
+ : itemId ===
6388
+ 'rescue_boat'
6389
+ ? {
6390
+ condition: 'santa_claus_free',
6391
+ berry: 0,
6392
+ }
6393
+ : {
6394
+ condition: 'santa_claus_free',
6395
+ }, undefined),
6396
+ }),
6397
+ rewards: itemId ===
6398
+ 'rudder'
6399
+ ? {
6400
+ condition: 'santa_claus_free',
6401
+ xp: 0,
6402
+ }
6403
+ : itemId ===
6404
+ 'rescue_boat'
6405
+ ? {
6406
+ condition: 'santa_claus_free',
6407
+ berry: 0,
6408
+ }
6409
+ : {
6410
+ condition: 'santa_claus_free',
6411
+ },
6412
+ penalties: undefined,
6413
+ },
6414
+ failure: {
6415
+ id: 'end_beat_frost_elf_free',
6416
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
6417
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
6418
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
6419
+ 'rudder'
6420
+ ? {
6421
+ xp: 550000,
6422
+ sugar_cane_christmas: 1000,
6423
+ berry: 500000000,
6424
+ condition: 'santa_claus_free',
6425
+ title: 'Héros de Noël',
6426
+ }
6427
+ : itemId ===
6428
+ 'rescue_boat'
6429
+ ? {
6430
+ xp: 500000,
6431
+ sugar_cane_christmas: 1000,
6432
+ berry: 750000000,
6433
+ condition: 'santa_claus_free',
6434
+ title: 'Héros de Noël',
6435
+ }
6436
+ : {
6437
+ xp: 500000,
6438
+ sugar_cane_christmas: 1000,
6439
+ berry: 500000000,
6440
+ condition: 'santa_claus_free',
6441
+ title: 'Héros de Noël',
6442
+ }, undefined),
6443
+ }),
6444
+ rewards: itemId ===
6445
+ 'rudder'
6446
+ ? {
6447
+ xp: 550000,
6448
+ sugar_cane_christmas: 1000,
6449
+ berry: 500000000,
6450
+ condition: 'santa_claus_free',
6451
+ title: 'Héros de Noël',
6452
+ }
6453
+ : itemId ===
6454
+ 'rescue_boat'
6455
+ ? {
6456
+ xp: 500000,
6457
+ sugar_cane_christmas: 1000,
6458
+ berry: 750000000,
6459
+ condition: 'santa_claus_free',
6460
+ title: 'Héros de Noël',
6461
+ }
6462
+ : {
6463
+ xp: 500000,
6464
+ sugar_cane_christmas: 1000,
6465
+ berry: 500000000,
6466
+ condition: 'santa_claus_free',
6467
+ title: 'Héros de Noël',
6468
+ },
6469
+ penalties: undefined,
6470
+ },
6471
+ },
6472
+ },
6473
+ ],
6474
+ },
6475
+ failure: {
6476
+ id: 'ev_failure_attack_again_again',
6477
+ title: t('raids.happy_christmas.ev_failure_attack_again_again.title'),
6478
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_failure_attack_again_again.text', {
6479
+ rewards: formatRewards('ev_failure_attack_again_again', obtainedRewards, undefined, itemId ===
6480
+ 'anchor'
6481
+ ? {
6482
+ hp: 50,
6483
+ }
6484
+ : {
6485
+ hp: 100,
6486
+ }),
6487
+ }),
6488
+ rewards: undefined,
6489
+ penalties: itemId ===
6490
+ 'anchor'
6491
+ ? {
6492
+ hp: 50,
6493
+ }
6494
+ : {
6495
+ hp: 100,
6496
+ },
6497
+ outputs: [
6498
+ {
6499
+ id: 'uc_still_attack',
6500
+ label: t('raids.happy_christmas.uc_still_attack.label'),
6501
+ output: {
6502
+ id: 'ev_last_attack',
6503
+ title: t('raids.happy_christmas.ev_last_attack.title'),
6504
+ text: t('raids.happy_christmas.ev_last_attack.text'),
6505
+ rewards: undefined,
6506
+ penalties: undefined,
6507
+ outputs: [
6508
+ {
6509
+ id: 'uc_continue',
6510
+ label: t('raids.happy_christmas.uc_continue.label'),
6511
+ output: {
6512
+ id: 'c_elf_status',
6513
+ requirements: itemId ===
6514
+ 'sailing_boat'
6515
+ ? {
6516
+ conditions: [
6517
+ 'elf_free',
6518
+ ],
6519
+ mode: 'exclude',
6520
+ }
6521
+ : {
6522
+ conditions: [
6523
+ 'elf_free',
6524
+ ],
6525
+ mode: 'exclude',
6526
+ },
6527
+ success: {
6528
+ id: 'end_beat_frost_elf_still_prisoner',
6529
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
6530
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
6531
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
6532
+ 'rudder'
6533
+ ? {
6534
+ condition: 'santa_claus_free',
6535
+ xp: 0,
6536
+ }
6537
+ : itemId ===
6538
+ 'rescue_boat'
6539
+ ? {
6540
+ condition: 'santa_claus_free',
6541
+ berry: 0,
6542
+ }
6543
+ : {
6544
+ condition: 'santa_claus_free',
6545
+ }, undefined),
6546
+ }),
6547
+ rewards: itemId ===
6548
+ 'rudder'
6549
+ ? {
6550
+ condition: 'santa_claus_free',
6551
+ xp: 0,
6552
+ }
6553
+ : itemId ===
6554
+ 'rescue_boat'
6555
+ ? {
6556
+ condition: 'santa_claus_free',
6557
+ berry: 0,
6558
+ }
6559
+ : {
6560
+ condition: 'santa_claus_free',
6561
+ },
6562
+ penalties: undefined,
6563
+ },
6564
+ failure: {
6565
+ id: 'end_beat_frost_elf_free',
6566
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
6567
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
6568
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
6569
+ 'rudder'
6570
+ ? {
6571
+ xp: 550000,
6572
+ sugar_cane_christmas: 1000,
6573
+ berry: 500000000,
6574
+ condition: 'santa_claus_free',
6575
+ title: 'Héros de Noël',
6576
+ }
6577
+ : itemId ===
6578
+ 'rescue_boat'
6579
+ ? {
6580
+ xp: 500000,
6581
+ sugar_cane_christmas: 1000,
6582
+ berry: 750000000,
6583
+ condition: 'santa_claus_free',
6584
+ title: 'Héros de Noël',
6585
+ }
6586
+ : {
6587
+ xp: 500000,
6588
+ sugar_cane_christmas: 1000,
6589
+ berry: 500000000,
6590
+ condition: 'santa_claus_free',
6591
+ title: 'Héros de Noël',
6592
+ }, undefined),
6593
+ }),
6594
+ rewards: itemId ===
6595
+ 'rudder'
6596
+ ? {
6597
+ xp: 550000,
6598
+ sugar_cane_christmas: 1000,
6599
+ berry: 500000000,
6600
+ condition: 'santa_claus_free',
6601
+ title: 'Héros de Noël',
6602
+ }
6603
+ : itemId ===
6604
+ 'rescue_boat'
6605
+ ? {
6606
+ xp: 500000,
6607
+ sugar_cane_christmas: 1000,
6608
+ berry: 750000000,
6609
+ condition: 'santa_claus_free',
6610
+ title: 'Héros de Noël',
6611
+ }
6612
+ : {
6613
+ xp: 500000,
6614
+ sugar_cane_christmas: 1000,
6615
+ berry: 500000000,
6616
+ condition: 'santa_claus_free',
6617
+ title: 'Héros de Noël',
6618
+ },
6619
+ penalties: undefined,
6620
+ },
6621
+ },
6622
+ },
6623
+ ],
6624
+ },
6625
+ },
6626
+ {
6627
+ id: 'rq_think_another_way',
6628
+ requirements: {
6629
+ little_cookie_christmas: 1,
6630
+ },
6631
+ label: t('raids.happy_christmas.rq_think_another_way.label', {
6632
+ requirements: findItem('little_cookie_christmas').name(1),
6633
+ }),
6634
+ output: {
6635
+ id: 'ev_biscuit_way',
6636
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
6637
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
6638
+ rewards: undefined,
6639
+ penalties: undefined,
6640
+ outputs: [
6641
+ {
6642
+ id: 'uc_continue',
6643
+ label: t('raids.happy_christmas.uc_continue.label'),
6644
+ output: {
6645
+ id: 'ev_free_santa_when_frost_cry',
6646
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
6647
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
6648
+ rewards: undefined,
6649
+ penalties: undefined,
6650
+ outputs: [
6651
+ {
6652
+ id: 'uc_continue',
6653
+ label: t('raids.happy_christmas.uc_continue.label'),
6654
+ output: {
6655
+ id: 'c_elf_status',
6656
+ requirements: itemId ===
6657
+ 'sailing_boat'
6658
+ ? {
6659
+ conditions: [
6660
+ 'elf_free',
6661
+ ],
6662
+ mode: 'include',
6663
+ }
6664
+ : {
6665
+ conditions: [
6666
+ 'elf_free',
6667
+ ],
6668
+ mode: 'include',
6669
+ },
6670
+ success: {
6671
+ id: 'end_free_santa_frost_cry_elf_free',
6672
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
6673
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
6674
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
6675
+ 'rudder'
6676
+ ? {
6677
+ xp: 550000,
6678
+ sugar_cane_christmas: 1000,
6679
+ berry: 500000000,
6680
+ condition: 'santa_claus_free',
6681
+ }
6682
+ : itemId ===
6683
+ 'rescue_boat'
6684
+ ? {
6685
+ xp: 500000,
6686
+ sugar_cane_christmas: 1000,
6687
+ berry: 750000000,
6688
+ condition: 'santa_claus_free',
6689
+ }
6690
+ : {
6691
+ xp: 500000,
6692
+ sugar_cane_christmas: 1000,
6693
+ berry: 500000000,
6694
+ condition: 'santa_claus_free',
6695
+ }, undefined),
6696
+ }),
6697
+ rewards: itemId ===
6698
+ 'rudder'
6699
+ ? {
6700
+ xp: 550000,
6701
+ sugar_cane_christmas: 1000,
6702
+ berry: 500000000,
6703
+ condition: 'santa_claus_free',
6704
+ }
6705
+ : itemId ===
6706
+ 'rescue_boat'
6707
+ ? {
6708
+ xp: 500000,
6709
+ sugar_cane_christmas: 1000,
6710
+ berry: 750000000,
6711
+ condition: 'santa_claus_free',
6712
+ }
6713
+ : {
6714
+ xp: 500000,
6715
+ sugar_cane_christmas: 1000,
6716
+ berry: 500000000,
6717
+ condition: 'santa_claus_free',
6718
+ },
6719
+ penalties: undefined,
6720
+ },
6721
+ failure: {
6722
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
6723
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
6724
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
6725
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
6726
+ 'rudder'
6727
+ ? {
6728
+ condition: 'santa_claus_free',
6729
+ xp: 550000,
6730
+ }
6731
+ : itemId ===
6732
+ 'rescue_boat'
6733
+ ? {
6734
+ condition: 'santa_claus_free',
6735
+ xp: 500000,
6736
+ berry: 0,
6737
+ }
6738
+ : {
6739
+ condition: 'santa_claus_free',
6740
+ xp: 500000,
6741
+ }, undefined),
6742
+ }),
6743
+ rewards: itemId ===
6744
+ 'rudder'
6745
+ ? {
6746
+ condition: 'santa_claus_free',
6747
+ xp: 550000,
6748
+ }
6749
+ : itemId ===
6750
+ 'rescue_boat'
6751
+ ? {
6752
+ condition: 'santa_claus_free',
6753
+ xp: 500000,
6754
+ berry: 0,
6755
+ }
6756
+ : {
6757
+ condition: 'santa_claus_free',
6758
+ xp: 500000,
6759
+ },
6760
+ penalties: undefined,
6761
+ },
6762
+ },
6763
+ },
6764
+ ],
6765
+ },
6766
+ },
6767
+ ],
6768
+ },
6769
+ },
6770
+ ],
6771
+ },
6772
+ },
6773
+ },
6774
+ {
6775
+ id: 'rq_think_another_way',
6776
+ requirements: {
6777
+ little_cookie_christmas: 1,
6778
+ },
6779
+ label: t('raids.happy_christmas.rq_think_another_way.label', {
6780
+ requirements: findItem('little_cookie_christmas').name(1),
6781
+ }),
6782
+ output: {
6783
+ id: 'c_think_another_way',
6784
+ requirements: itemId ===
6785
+ 'sailing_boat'
6786
+ ? {
6787
+ wisdom: 112.5,
6788
+ intelligence: 112.5,
6789
+ }
6790
+ : {
6791
+ wisdom: 125,
6792
+ intelligence: 125,
6793
+ },
6794
+ success: {
6795
+ id: 'ev_biscuit_way',
6796
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
6797
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
6798
+ rewards: undefined,
6799
+ penalties: undefined,
6800
+ outputs: [
6801
+ {
6802
+ id: 'uc_continue',
6803
+ label: t('raids.happy_christmas.uc_continue.label'),
6804
+ output: {
6805
+ id: 'ev_free_santa_when_frost_cry',
6806
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
6807
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
6808
+ rewards: undefined,
6809
+ penalties: undefined,
6810
+ outputs: [
6811
+ {
6812
+ id: 'uc_continue',
6813
+ label: t('raids.happy_christmas.uc_continue.label'),
6814
+ output: {
6815
+ id: 'c_elf_status',
6816
+ requirements: itemId ===
6817
+ 'sailing_boat'
6818
+ ? {
6819
+ conditions: [
6820
+ 'elf_free',
6821
+ ],
6822
+ mode: 'include',
6823
+ }
6824
+ : {
6825
+ conditions: [
6826
+ 'elf_free',
6827
+ ],
6828
+ mode: 'include',
6829
+ },
6830
+ success: {
6831
+ id: 'end_free_santa_frost_cry_elf_free',
6832
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
6833
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
6834
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
6835
+ 'rudder'
6836
+ ? {
6837
+ xp: 550000,
6838
+ sugar_cane_christmas: 1000,
6839
+ berry: 500000000,
6840
+ condition: 'santa_claus_free',
6841
+ title: 'Héros de Noël',
6842
+ }
6843
+ : itemId ===
6844
+ 'rescue_boat'
6845
+ ? {
6846
+ xp: 500000,
6847
+ sugar_cane_christmas: 1000,
6848
+ berry: 750000000,
6849
+ condition: 'santa_claus_free',
6850
+ title: 'Héros de Noël',
6851
+ }
6852
+ : {
6853
+ xp: 500000,
6854
+ sugar_cane_christmas: 1000,
6855
+ berry: 500000000,
6856
+ condition: 'santa_claus_free',
6857
+ title: 'Héros de Noël',
6858
+ }, undefined),
6859
+ }),
6860
+ rewards: itemId ===
6861
+ 'rudder'
6862
+ ? {
6863
+ xp: 550000,
6864
+ sugar_cane_christmas: 1000,
6865
+ berry: 500000000,
6866
+ condition: 'santa_claus_free',
6867
+ title: 'Héros de Noël',
6868
+ }
6869
+ : itemId ===
6870
+ 'rescue_boat'
6871
+ ? {
6872
+ xp: 500000,
6873
+ sugar_cane_christmas: 1000,
6874
+ berry: 750000000,
6875
+ condition: 'santa_claus_free',
6876
+ title: 'Héros de Noël',
6877
+ }
6878
+ : {
6879
+ xp: 500000,
6880
+ sugar_cane_christmas: 1000,
6881
+ berry: 500000000,
6882
+ condition: 'santa_claus_free',
6883
+ title: 'Héros de Noël',
6884
+ },
6885
+ penalties: undefined,
6886
+ },
6887
+ failure: {
6888
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
6889
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
6890
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
6891
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
6892
+ 'rudder'
6893
+ ? {
6894
+ xp: 550000,
6895
+ condition: 'santa_claus_free',
6896
+ }
6897
+ : itemId ===
6898
+ 'rescue_boat'
6899
+ ? {
6900
+ xp: 500000,
6901
+ condition: 'santa_claus_free',
6902
+ berry: 0,
6903
+ }
6904
+ : {
6905
+ xp: 500000,
6906
+ condition: 'santa_claus_free',
6907
+ }, undefined),
6908
+ }),
6909
+ rewards: itemId ===
6910
+ 'rudder'
6911
+ ? {
6912
+ xp: 550000,
6913
+ condition: 'santa_claus_free',
6914
+ }
6915
+ : itemId ===
6916
+ 'rescue_boat'
6917
+ ? {
6918
+ xp: 500000,
6919
+ condition: 'santa_claus_free',
6920
+ berry: 0,
6921
+ }
6922
+ : {
6923
+ xp: 500000,
6924
+ condition: 'santa_claus_free',
6925
+ },
6926
+ penalties: undefined,
6927
+ },
6928
+ },
6929
+ },
6930
+ ],
6931
+ },
6932
+ },
6933
+ ],
6934
+ },
6935
+ failure: {
6936
+ id: 'ev_dont_find_way',
6937
+ title: t('raids.happy_christmas.ev_dont_find_way.title'),
6938
+ text: t('raids.happy_christmas.ev_dont_find_way.text'),
6939
+ rewards: undefined,
6940
+ penalties: undefined,
6941
+ outputs: [
6942
+ {
6943
+ id: 'uc_think_another_way',
6944
+ label: t('raids.happy_christmas.uc_think_another_way.label'),
6945
+ output: {
6946
+ id: 'ev_biscuit_way',
6947
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
6948
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
6949
+ rewards: undefined,
6950
+ penalties: undefined,
6951
+ outputs: [
6952
+ {
6953
+ id: 'uc_continue',
6954
+ label: t('raids.happy_christmas.uc_continue.label'),
6955
+ output: {
6956
+ id: 'ev_free_santa_when_frost_cry',
6957
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
6958
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
6959
+ rewards: undefined,
6960
+ penalties: undefined,
6961
+ outputs: [
6962
+ {
6963
+ id: 'uc_continue',
6964
+ label: t('raids.happy_christmas.uc_continue.label'),
6965
+ output: {
6966
+ id: 'c_elf_status',
6967
+ requirements: itemId ===
6968
+ 'sailing_boat'
6969
+ ? {
6970
+ conditions: [
6971
+ 'elf_free',
6972
+ ],
6973
+ mode: 'include',
6974
+ }
6975
+ : {
6976
+ conditions: [
6977
+ 'elf_free',
6978
+ ],
6979
+ mode: 'include',
6980
+ },
6981
+ success: {
6982
+ id: 'end_free_santa_frost_cry_elf_free',
6983
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
6984
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
6985
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
6986
+ 'rudder'
6987
+ ? {
6988
+ condition: 'santa_claus_free',
6989
+ xp: 550000,
6990
+ sugar_cane_christmas: 1000,
6991
+ berry: 500000000,
6992
+ title: 'Héros de Noël',
6993
+ }
6994
+ : itemId ===
6995
+ 'rescue_boat'
6996
+ ? {
6997
+ condition: 'santa_claus_free',
6998
+ xp: 500000,
6999
+ sugar_cane_christmas: 1000,
7000
+ berry: 750000000,
7001
+ title: 'Héros de Noël',
7002
+ }
7003
+ : {
7004
+ condition: 'santa_claus_free',
7005
+ xp: 500000,
7006
+ sugar_cane_christmas: 1000,
7007
+ berry: 500000000,
7008
+ title: 'Héros de Noël',
7009
+ }, undefined),
7010
+ }),
7011
+ rewards: itemId ===
7012
+ 'rudder'
7013
+ ? {
7014
+ condition: 'santa_claus_free',
7015
+ xp: 550000,
7016
+ sugar_cane_christmas: 1000,
7017
+ berry: 500000000,
7018
+ title: 'Héros de Noël',
7019
+ }
7020
+ : itemId ===
7021
+ 'rescue_boat'
7022
+ ? {
7023
+ condition: 'santa_claus_free',
7024
+ xp: 500000,
7025
+ sugar_cane_christmas: 1000,
7026
+ berry: 750000000,
7027
+ title: 'Héros de Noël',
7028
+ }
7029
+ : {
7030
+ condition: 'santa_claus_free',
7031
+ xp: 500000,
7032
+ sugar_cane_christmas: 1000,
7033
+ berry: 500000000,
7034
+ title: 'Héros de Noël',
7035
+ },
7036
+ penalties: undefined,
7037
+ },
7038
+ failure: {
7039
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
7040
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
7041
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
7042
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
7043
+ 'rudder'
7044
+ ? {
7045
+ xp: 550000,
7046
+ condition: 'santa_claus_free',
7047
+ }
7048
+ : itemId ===
7049
+ 'rescue_boat'
7050
+ ? {
7051
+ xp: 500000,
7052
+ condition: 'santa_claus_free',
7053
+ berry: 0,
7054
+ }
7055
+ : {
7056
+ xp: 500000,
7057
+ condition: 'santa_claus_free',
7058
+ }, undefined),
7059
+ }),
7060
+ rewards: itemId ===
7061
+ 'rudder'
7062
+ ? {
7063
+ xp: 550000,
7064
+ condition: 'santa_claus_free',
7065
+ }
7066
+ : itemId ===
7067
+ 'rescue_boat'
7068
+ ? {
7069
+ xp: 500000,
7070
+ condition: 'santa_claus_free',
7071
+ berry: 0,
7072
+ }
7073
+ : {
7074
+ xp: 500000,
7075
+ condition: 'santa_claus_free',
7076
+ },
7077
+ penalties: undefined,
7078
+ },
7079
+ },
7080
+ },
7081
+ ],
7082
+ },
7083
+ },
7084
+ ],
7085
+ },
7086
+ },
7087
+ ],
7088
+ },
7089
+ },
7090
+ },
7091
+ ],
7092
+ },
7093
+ },
7094
+ },
7095
+ {
7096
+ id: 'rq_think_another_way',
7097
+ requirements: {
7098
+ little_cookie_christmas: 1,
7099
+ },
7100
+ label: t('raids.happy_christmas.rq_think_another_way.label', {
7101
+ requirements: findItem('little_cookie_christmas').name(1),
7102
+ }),
7103
+ output: {
7104
+ id: 'c_think_another_way',
7105
+ requirements: itemId ===
7106
+ 'sailing_boat'
7107
+ ? {
7108
+ wisdom: 135,
7109
+ intelligence: 135,
7110
+ }
7111
+ : {
7112
+ wisdom: 150,
7113
+ intelligence: 150,
7114
+ },
7115
+ success: {
7116
+ id: 'ev_biscuit_way',
7117
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
7118
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
7119
+ rewards: undefined,
7120
+ penalties: undefined,
7121
+ outputs: [
7122
+ {
7123
+ id: 'uc_continue',
7124
+ label: t('raids.happy_christmas.uc_continue.label'),
7125
+ output: {
7126
+ id: 'ev_free_santa_when_frost_cry',
7127
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
7128
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
7129
+ rewards: undefined,
7130
+ penalties: undefined,
7131
+ outputs: [
7132
+ {
7133
+ id: 'uc_continue',
7134
+ label: t('raids.happy_christmas.uc_continue.label'),
7135
+ output: {
7136
+ id: 'c_elf_status',
7137
+ requirements: itemId ===
7138
+ 'sailing_boat'
7139
+ ? {
7140
+ conditions: [
7141
+ 'elf_free',
7142
+ ],
7143
+ mode: 'include',
7144
+ }
7145
+ : {
7146
+ conditions: [
7147
+ 'elf_free',
7148
+ ],
7149
+ mode: 'include',
7150
+ },
7151
+ success: {
7152
+ id: 'end_free_santa_frost_cry_elf_free',
7153
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
7154
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
7155
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
7156
+ 'rudder'
7157
+ ? {
7158
+ xp: 550000,
7159
+ sugar_cane_christmas: 1000,
7160
+ berry: 500000000,
7161
+ condition: 'santa_claus_free',
7162
+ title: 'Héros de Noël',
7163
+ }
7164
+ : itemId ===
7165
+ 'rescue_boat'
7166
+ ? {
7167
+ xp: 500000,
7168
+ sugar_cane_christmas: 1000,
7169
+ berry: 750000000,
7170
+ condition: 'santa_claus_free',
7171
+ title: 'Héros de Noël',
7172
+ }
7173
+ : {
7174
+ xp: 500000,
7175
+ sugar_cane_christmas: 1000,
7176
+ berry: 500000000,
7177
+ condition: 'santa_claus_free',
7178
+ title: 'Héros de Noël',
7179
+ }, undefined),
7180
+ }),
7181
+ rewards: itemId ===
7182
+ 'rudder'
7183
+ ? {
7184
+ xp: 550000,
7185
+ sugar_cane_christmas: 1000,
7186
+ berry: 500000000,
7187
+ condition: 'santa_claus_free',
7188
+ title: 'Héros de Noël',
7189
+ }
7190
+ : itemId ===
7191
+ 'rescue_boat'
7192
+ ? {
7193
+ xp: 500000,
7194
+ sugar_cane_christmas: 1000,
7195
+ berry: 750000000,
7196
+ condition: 'santa_claus_free',
7197
+ title: 'Héros de Noël',
7198
+ }
7199
+ : {
7200
+ xp: 500000,
7201
+ sugar_cane_christmas: 1000,
7202
+ berry: 500000000,
7203
+ condition: 'santa_claus_free',
7204
+ title: 'Héros de Noël',
7205
+ },
7206
+ penalties: undefined,
7207
+ },
7208
+ failure: {
7209
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
7210
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
7211
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
7212
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
7213
+ 'rudder'
7214
+ ? {
7215
+ xp: 550000,
7216
+ condition: 'santa_claus_free',
7217
+ }
7218
+ : itemId ===
7219
+ 'rescue_boat'
7220
+ ? {
7221
+ xp: 500000,
7222
+ condition: 'santa_claus_free',
7223
+ berry: 0,
7224
+ }
7225
+ : {
7226
+ xp: 500000,
7227
+ condition: 'santa_claus_free',
7228
+ }, undefined),
7229
+ }),
7230
+ rewards: itemId ===
7231
+ 'rudder'
7232
+ ? {
7233
+ xp: 550000,
7234
+ condition: 'santa_claus_free',
7235
+ }
7236
+ : itemId ===
7237
+ 'rescue_boat'
7238
+ ? {
7239
+ xp: 500000,
7240
+ condition: 'santa_claus_free',
7241
+ berry: 0,
7242
+ }
7243
+ : {
7244
+ xp: 500000,
7245
+ condition: 'santa_claus_free',
7246
+ },
7247
+ penalties: undefined,
7248
+ },
7249
+ },
7250
+ },
7251
+ ],
7252
+ },
7253
+ },
7254
+ ],
7255
+ },
7256
+ failure: {
7257
+ id: 'ev_dont_find_way',
7258
+ title: t('raids.happy_christmas.ev_dont_find_way.title'),
7259
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_dont_find_way.text', {
7260
+ rewards: formatRewards('ev_dont_find_way', obtainedRewards, undefined, itemId ===
7261
+ 'anchor'
7262
+ ? {
7263
+ hp: 75,
7264
+ }
7265
+ : {
7266
+ hp: 150,
7267
+ }),
7268
+ }),
7269
+ rewards: undefined,
7270
+ penalties: itemId ===
7271
+ 'anchor'
7272
+ ? {
7273
+ hp: 75,
7274
+ }
7275
+ : {
7276
+ hp: 150,
7277
+ },
7278
+ outputs: [
7279
+ {
7280
+ id: 'uc_attack_again_again',
7281
+ label: t('raids.happy_christmas.uc_attack_again_again.label'),
7282
+ output: {
7283
+ id: 'c_attack_again_again',
7284
+ requirements: itemId ===
7285
+ 'sailing_boat'
7286
+ ? {
7287
+ strength: 112.5,
7288
+ agility: 112.5,
7289
+ }
7290
+ : {
7291
+ strength: 125,
7292
+ agility: 125,
7293
+ },
7294
+ success: {
7295
+ id: 'ev_succeed_attack_again_again',
7296
+ title: t('raids.happy_christmas.ev_succeed_attack_again_again.title'),
7297
+ text: t('raids.happy_christmas.ev_succeed_attack_again_again.text'),
7298
+ rewards: undefined,
7299
+ penalties: undefined,
7300
+ outputs: [
7301
+ {
7302
+ id: 'uc_continue',
7303
+ label: t('raids.happy_christmas.uc_continue.label'),
7304
+ output: {
7305
+ id: 'c_elf_status',
7306
+ requirements: itemId ===
7307
+ 'sailing_boat'
7308
+ ? {
7309
+ conditions: [
7310
+ 'elf_free',
7311
+ ],
7312
+ mode: 'exclude',
7313
+ }
7314
+ : {
7315
+ conditions: [
7316
+ 'elf_free',
7317
+ ],
7318
+ mode: 'exclude',
7319
+ },
7320
+ success: {
7321
+ id: 'end_beat_frost_elf_still_prisoner',
7322
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
7323
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
7324
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
7325
+ 'rudder'
7326
+ ? {
7327
+ condition: 'santa_claus_free',
7328
+ xp: 0,
7329
+ }
7330
+ : itemId ===
7331
+ 'rescue_boat'
7332
+ ? {
7333
+ condition: 'santa_claus_free',
7334
+ berry: 0,
7335
+ }
7336
+ : {
7337
+ condition: 'santa_claus_free',
7338
+ }, undefined),
7339
+ }),
7340
+ rewards: itemId ===
7341
+ 'rudder'
7342
+ ? {
7343
+ condition: 'santa_claus_free',
7344
+ xp: 0,
7345
+ }
7346
+ : itemId ===
7347
+ 'rescue_boat'
7348
+ ? {
7349
+ condition: 'santa_claus_free',
7350
+ berry: 0,
7351
+ }
7352
+ : {
7353
+ condition: 'santa_claus_free',
7354
+ },
7355
+ penalties: undefined,
7356
+ },
7357
+ failure: {
7358
+ id: 'end_beat_frost_elf_free',
7359
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
7360
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
7361
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
7362
+ 'rudder'
7363
+ ? {
7364
+ xp: 550000,
7365
+ sugar_cane_christmas: 1000,
7366
+ berry: 500000000,
7367
+ condition: 'santa_claus_free',
7368
+ }
7369
+ : itemId ===
7370
+ 'rescue_boat'
7371
+ ? {
7372
+ xp: 500000,
7373
+ sugar_cane_christmas: 1000,
7374
+ berry: 750000000,
7375
+ condition: 'santa_claus_free',
7376
+ }
7377
+ : {
7378
+ xp: 500000,
7379
+ sugar_cane_christmas: 1000,
7380
+ berry: 500000000,
7381
+ condition: 'santa_claus_free',
7382
+ }, undefined),
7383
+ }),
7384
+ rewards: itemId ===
7385
+ 'rudder'
7386
+ ? {
7387
+ xp: 550000,
7388
+ sugar_cane_christmas: 1000,
7389
+ berry: 500000000,
7390
+ condition: 'santa_claus_free',
7391
+ }
7392
+ : itemId ===
7393
+ 'rescue_boat'
7394
+ ? {
7395
+ xp: 500000,
7396
+ sugar_cane_christmas: 1000,
7397
+ berry: 750000000,
7398
+ condition: 'santa_claus_free',
7399
+ }
7400
+ : {
7401
+ xp: 500000,
7402
+ sugar_cane_christmas: 1000,
7403
+ berry: 500000000,
7404
+ condition: 'santa_claus_free',
7405
+ },
7406
+ penalties: undefined,
7407
+ },
7408
+ },
7409
+ },
7410
+ ],
7411
+ },
7412
+ failure: {
7413
+ id: 'ev_failed_attack_again',
7414
+ title: t('raids.happy_christmas.ev_failed_attack_again.title'),
7415
+ text: (obtainedRewards) => t('raids.happy_christmas.ev_failed_attack_again.text', {
7416
+ rewards: formatRewards('ev_failed_attack_again', obtainedRewards, undefined, itemId ===
7417
+ 'anchor'
7418
+ ? {
7419
+ hp: 50,
7420
+ }
7421
+ : {
7422
+ hp: 100,
7423
+ }),
7424
+ }),
7425
+ rewards: undefined,
7426
+ penalties: itemId ===
7427
+ 'anchor'
7428
+ ? {
7429
+ hp: 50,
7430
+ }
7431
+ : {
7432
+ hp: 100,
7433
+ },
7434
+ outputs: [
7435
+ {
7436
+ id: 'uc_still_attack',
7437
+ label: t('raids.happy_christmas.uc_still_attack.label'),
7438
+ output: {
7439
+ id: 'ev_last_attack',
7440
+ title: t('raids.happy_christmas.ev_last_attack.title'),
7441
+ text: t('raids.happy_christmas.ev_last_attack.text'),
7442
+ rewards: undefined,
7443
+ penalties: undefined,
7444
+ outputs: [
7445
+ {
7446
+ id: 'uc_continue',
7447
+ label: t('raids.happy_christmas.uc_continue.label'),
7448
+ output: {
7449
+ id: 'c_elf_status',
7450
+ requirements: itemId ===
7451
+ 'sailing_boat'
7452
+ ? {
7453
+ conditions: [
7454
+ 'elf_free',
7455
+ ],
7456
+ mode: 'exclude',
7457
+ }
7458
+ : {
7459
+ conditions: [
7460
+ 'elf_free',
7461
+ ],
7462
+ mode: 'exclude',
7463
+ },
7464
+ success: {
7465
+ id: 'end_beat_frost_elf_still_prisoner',
7466
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
7467
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
7468
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
7469
+ 'rudder'
7470
+ ? {
7471
+ condition: 'santa_claus_free',
7472
+ xp: 0,
7473
+ }
7474
+ : itemId ===
7475
+ 'rescue_boat'
7476
+ ? {
7477
+ condition: 'santa_claus_free',
7478
+ berry: 0,
7479
+ }
7480
+ : {
7481
+ condition: 'santa_claus_free',
7482
+ }, undefined),
7483
+ }),
7484
+ rewards: itemId ===
7485
+ 'rudder'
7486
+ ? {
7487
+ condition: 'santa_claus_free',
7488
+ xp: 0,
7489
+ }
7490
+ : itemId ===
7491
+ 'rescue_boat'
7492
+ ? {
7493
+ condition: 'santa_claus_free',
7494
+ berry: 0,
7495
+ }
7496
+ : {
7497
+ condition: 'santa_claus_free',
7498
+ },
7499
+ penalties: undefined,
7500
+ },
7501
+ failure: {
7502
+ id: 'end_beat_frost_elf_free',
7503
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
7504
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
7505
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
7506
+ 'rudder'
7507
+ ? {
7508
+ xp: 550000,
7509
+ sugar_cane_christmas: 1000,
7510
+ berry: 500000000,
7511
+ condition: 'santa_claus_free',
7512
+ title: 'Héros de Noël',
7513
+ }
7514
+ : itemId ===
7515
+ 'rescue_boat'
7516
+ ? {
7517
+ xp: 500000,
7518
+ sugar_cane_christmas: 1000,
7519
+ berry: 750000000,
7520
+ condition: 'santa_claus_free',
7521
+ title: 'Héros de Noël',
7522
+ }
7523
+ : {
7524
+ xp: 500000,
7525
+ sugar_cane_christmas: 1000,
7526
+ berry: 500000000,
7527
+ condition: 'santa_claus_free',
7528
+ title: 'Héros de Noël',
7529
+ }, undefined),
7530
+ }),
7531
+ rewards: itemId ===
7532
+ 'rudder'
7533
+ ? {
7534
+ xp: 550000,
7535
+ sugar_cane_christmas: 1000,
7536
+ berry: 500000000,
7537
+ condition: 'santa_claus_free',
7538
+ title: 'Héros de Noël',
7539
+ }
7540
+ : itemId ===
7541
+ 'rescue_boat'
7542
+ ? {
7543
+ xp: 500000,
7544
+ sugar_cane_christmas: 1000,
7545
+ berry: 750000000,
7546
+ condition: 'santa_claus_free',
7547
+ title: 'Héros de Noël',
7548
+ }
7549
+ : {
7550
+ xp: 500000,
7551
+ sugar_cane_christmas: 1000,
7552
+ berry: 500000000,
7553
+ condition: 'santa_claus_free',
7554
+ title: 'Héros de Noël',
7555
+ },
7556
+ penalties: undefined,
7557
+ },
7558
+ },
7559
+ },
7560
+ ],
7561
+ },
7562
+ },
7563
+ {
7564
+ id: 'uc_think_another_way',
7565
+ label: t('raids.happy_christmas.uc_think_another_way.label'),
7566
+ output: {
7567
+ id: 'ev_biscuit_way',
7568
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
7569
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
7570
+ rewards: undefined,
7571
+ penalties: undefined,
7572
+ outputs: [
7573
+ {
7574
+ id: 'uc_continue',
7575
+ label: t('raids.happy_christmas.uc_continue.label'),
7576
+ output: {
7577
+ id: 'ev_free_santa_when_frost_cry',
7578
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
7579
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
7580
+ rewards: undefined,
7581
+ penalties: undefined,
7582
+ outputs: [
7583
+ {
7584
+ id: 'uc_continue',
7585
+ label: t('raids.happy_christmas.uc_continue.label'),
7586
+ output: {
7587
+ id: 'c_elf_status',
7588
+ requirements: itemId ===
7589
+ 'sailing_boat'
7590
+ ? {
7591
+ conditions: [
7592
+ 'elf_free',
7593
+ ],
7594
+ mode: 'include',
7595
+ }
7596
+ : {
7597
+ conditions: [
7598
+ 'elf_free',
7599
+ ],
7600
+ mode: 'include',
7601
+ },
7602
+ success: {
7603
+ id: 'end_free_santa_frost_cry_elf_free',
7604
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
7605
+ text: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text'),
7606
+ rewards: undefined,
7607
+ penalties: undefined,
7608
+ },
7609
+ failure: {
7610
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
7611
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
7612
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
7613
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
7614
+ 'rudder'
7615
+ ? {
7616
+ xp: 550000,
7617
+ condition: 'santa_claus_free',
7618
+ }
7619
+ : itemId ===
7620
+ 'rescue_boat'
7621
+ ? {
7622
+ xp: 500000,
7623
+ condition: 'santa_claus_free',
7624
+ berry: 0,
7625
+ }
7626
+ : {
7627
+ xp: 500000,
7628
+ condition: 'santa_claus_free',
7629
+ }, undefined),
7630
+ }),
7631
+ rewards: itemId ===
7632
+ 'rudder'
7633
+ ? {
7634
+ xp: 550000,
7635
+ condition: 'santa_claus_free',
7636
+ }
7637
+ : itemId ===
7638
+ 'rescue_boat'
7639
+ ? {
7640
+ xp: 500000,
7641
+ condition: 'santa_claus_free',
7642
+ berry: 0,
7643
+ }
7644
+ : {
7645
+ xp: 500000,
7646
+ condition: 'santa_claus_free',
7647
+ },
7648
+ penalties: undefined,
7649
+ },
7650
+ },
7651
+ },
7652
+ ],
7653
+ },
7654
+ },
7655
+ ],
7656
+ },
7657
+ },
7658
+ ],
7659
+ },
7660
+ },
7661
+ },
7662
+ {
7663
+ id: 'uc_think_another_way',
7664
+ label: t('raids.happy_christmas.uc_think_another_way.label'),
7665
+ output: {
7666
+ id: 'c_think_another_way',
7667
+ requirements: itemId ===
7668
+ 'sailing_boat'
7669
+ ? {
7670
+ intelligence: 112.5,
7671
+ wisdom: 112.5,
7672
+ }
7673
+ : {
7674
+ intelligence: 125,
7675
+ wisdom: 125,
7676
+ },
7677
+ success: {
7678
+ id: 'ev_biscuit_way',
7679
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
7680
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
7681
+ rewards: undefined,
7682
+ penalties: undefined,
7683
+ outputs: [
7684
+ {
7685
+ id: 'uc_continue',
7686
+ label: t('raids.happy_christmas.uc_continue.label'),
7687
+ output: {
7688
+ id: 'ev_free_santa_when_frost_cry',
7689
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
7690
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
7691
+ rewards: undefined,
7692
+ penalties: undefined,
7693
+ outputs: [
7694
+ {
7695
+ id: 'uc_continue',
7696
+ label: t('raids.happy_christmas.uc_continue.label'),
7697
+ output: {
7698
+ id: 'c_elf_status',
7699
+ requirements: itemId ===
7700
+ 'sailing_boat'
7701
+ ? {
7702
+ conditions: [
7703
+ 'elf_free',
7704
+ ],
7705
+ mode: 'include',
7706
+ }
7707
+ : {
7708
+ conditions: [
7709
+ 'elf_free',
7710
+ ],
7711
+ mode: 'include',
7712
+ },
7713
+ success: {
7714
+ id: 'end_free_santa_frost_cry_elf_free',
7715
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
7716
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
7717
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
7718
+ 'rudder'
7719
+ ? {
7720
+ xp: 550000,
7721
+ sugar_cane_christmas: 500000000,
7722
+ berry: 500000000,
7723
+ condition: 'santa_claus_free',
7724
+ title: 'Héros de Noël',
7725
+ }
7726
+ : itemId ===
7727
+ 'rescue_boat'
7728
+ ? {
7729
+ xp: 500000,
7730
+ sugar_cane_christmas: 500000000,
7731
+ berry: 750000000,
7732
+ condition: 'santa_claus_free',
7733
+ title: 'Héros de Noël',
7734
+ }
7735
+ : {
7736
+ xp: 500000,
7737
+ sugar_cane_christmas: 500000000,
7738
+ berry: 500000000,
7739
+ condition: 'santa_claus_free',
7740
+ title: 'Héros de Noël',
7741
+ }, undefined),
7742
+ }),
7743
+ rewards: itemId ===
7744
+ 'rudder'
7745
+ ? {
7746
+ xp: 550000,
7747
+ sugar_cane_christmas: 500000000,
7748
+ berry: 500000000,
7749
+ condition: 'santa_claus_free',
7750
+ title: 'Héros de Noël',
7751
+ }
7752
+ : itemId ===
7753
+ 'rescue_boat'
7754
+ ? {
7755
+ xp: 500000,
7756
+ sugar_cane_christmas: 500000000,
7757
+ berry: 750000000,
7758
+ condition: 'santa_claus_free',
7759
+ title: 'Héros de Noël',
7760
+ }
7761
+ : {
7762
+ xp: 500000,
7763
+ sugar_cane_christmas: 500000000,
7764
+ berry: 500000000,
7765
+ condition: 'santa_claus_free',
7766
+ title: 'Héros de Noël',
7767
+ },
7768
+ penalties: undefined,
7769
+ },
7770
+ failure: {
7771
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
7772
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
7773
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
7774
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
7775
+ 'rudder'
7776
+ ? {
7777
+ xp: 550000,
7778
+ condition: 'santa_claus_free',
7779
+ }
7780
+ : itemId ===
7781
+ 'rescue_boat'
7782
+ ? {
7783
+ xp: 500000,
7784
+ condition: 'santa_claus_free',
7785
+ berry: 0,
7786
+ }
7787
+ : {
7788
+ xp: 500000,
7789
+ condition: 'santa_claus_free',
7790
+ }, undefined),
7791
+ }),
7792
+ rewards: itemId ===
7793
+ 'rudder'
7794
+ ? {
7795
+ xp: 550000,
7796
+ condition: 'santa_claus_free',
7797
+ }
7798
+ : itemId ===
7799
+ 'rescue_boat'
7800
+ ? {
7801
+ xp: 500000,
7802
+ condition: 'santa_claus_free',
7803
+ berry: 0,
7804
+ }
7805
+ : {
7806
+ xp: 500000,
7807
+ condition: 'santa_claus_free',
7808
+ },
7809
+ penalties: undefined,
7810
+ },
7811
+ },
7812
+ },
7813
+ ],
7814
+ },
7815
+ },
7816
+ ],
7817
+ },
7818
+ failure: {
7819
+ id: 'ev_dont_find_way',
7820
+ title: t('raids.happy_christmas.ev_dont_find_way.title'),
7821
+ text: t('raids.happy_christmas.ev_dont_find_way.text'),
7822
+ rewards: undefined,
7823
+ penalties: undefined,
7824
+ outputs: [
7825
+ {
7826
+ id: 'uc_think_another_way',
7827
+ label: t('raids.happy_christmas.uc_think_another_way.label'),
7828
+ output: {
7829
+ id: 'ev_biscuit_way',
7830
+ title: t('raids.happy_christmas.ev_biscuit_way.title'),
7831
+ text: t('raids.happy_christmas.ev_biscuit_way.text'),
7832
+ rewards: undefined,
7833
+ penalties: undefined,
7834
+ outputs: [
7835
+ {
7836
+ id: 'uc_continue',
7837
+ label: t('raids.happy_christmas.uc_continue.label'),
7838
+ output: {
7839
+ id: 'ev_free_santa_when_frost_cry',
7840
+ title: t('raids.happy_christmas.ev_free_santa_when_frost_cry.title'),
7841
+ text: t('raids.happy_christmas.ev_free_santa_when_frost_cry.text'),
7842
+ rewards: undefined,
7843
+ penalties: undefined,
7844
+ outputs: [
7845
+ {
7846
+ id: 'uc_continue',
7847
+ label: t('raids.happy_christmas.uc_continue.label'),
7848
+ output: {
7849
+ id: 'c_elf_status',
7850
+ requirements: itemId ===
7851
+ 'sailing_boat'
7852
+ ? {
7853
+ conditions: [
7854
+ 'elf_free',
7855
+ ],
7856
+ mode: 'include',
7857
+ }
7858
+ : {
7859
+ conditions: [
7860
+ 'elf_free',
7861
+ ],
7862
+ mode: 'include',
7863
+ },
7864
+ success: {
7865
+ id: 'end_free_santa_frost_cry_elf_free',
7866
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.title'),
7867
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_free.text', {
7868
+ rewards: formatRewards('end_free_santa_frost_cry_elf_free', obtainedRewards, itemId ===
7869
+ 'rudder'
7870
+ ? {
7871
+ xp: 550000,
7872
+ sugar_cane_christmas: 1000,
7873
+ berry: 500000000,
7874
+ condition: 'santa_claus_free',
7875
+ title: 'Héros de Noël',
7876
+ }
7877
+ : itemId ===
7878
+ 'rescue_boat'
7879
+ ? {
7880
+ xp: 500000,
7881
+ sugar_cane_christmas: 1000,
7882
+ berry: 750000000,
7883
+ condition: 'santa_claus_free',
7884
+ title: 'Héros de Noël',
7885
+ }
7886
+ : {
7887
+ xp: 500000,
7888
+ sugar_cane_christmas: 1000,
7889
+ berry: 500000000,
7890
+ condition: 'santa_claus_free',
7891
+ title: 'Héros de Noël',
7892
+ }, undefined),
7893
+ }),
7894
+ rewards: itemId ===
7895
+ 'rudder'
7896
+ ? {
7897
+ xp: 550000,
7898
+ sugar_cane_christmas: 1000,
7899
+ berry: 500000000,
7900
+ condition: 'santa_claus_free',
7901
+ title: 'Héros de Noël',
7902
+ }
7903
+ : itemId ===
7904
+ 'rescue_boat'
7905
+ ? {
7906
+ xp: 500000,
7907
+ sugar_cane_christmas: 1000,
7908
+ berry: 750000000,
7909
+ condition: 'santa_claus_free',
7910
+ title: 'Héros de Noël',
7911
+ }
7912
+ : {
7913
+ xp: 500000,
7914
+ sugar_cane_christmas: 1000,
7915
+ berry: 500000000,
7916
+ condition: 'santa_claus_free',
7917
+ title: 'Héros de Noël',
7918
+ },
7919
+ penalties: undefined,
7920
+ },
7921
+ failure: {
7922
+ id: 'end_free_santa_frost_cry_elf_keep_prisoner',
7923
+ title: t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.title'),
7924
+ text: (obtainedRewards) => t('raids.happy_christmas.end_free_santa_frost_cry_elf_keep_prisoner.text', {
7925
+ rewards: formatRewards('end_free_santa_frost_cry_elf_keep_prisoner', obtainedRewards, itemId ===
7926
+ 'rudder'
7927
+ ? {
7928
+ xp: 550000,
7929
+ condition: 'santa_claus_free',
7930
+ }
7931
+ : itemId ===
7932
+ 'rescue_boat'
7933
+ ? {
7934
+ xp: 500000,
7935
+ condition: 'santa_claus_free',
7936
+ berry: 0,
7937
+ }
7938
+ : {
7939
+ xp: 500000,
7940
+ condition: 'santa_claus_free',
7941
+ }, undefined),
7942
+ }),
7943
+ rewards: itemId ===
7944
+ 'rudder'
7945
+ ? {
7946
+ xp: 550000,
7947
+ condition: 'santa_claus_free',
7948
+ }
7949
+ : itemId ===
7950
+ 'rescue_boat'
7951
+ ? {
7952
+ xp: 500000,
7953
+ condition: 'santa_claus_free',
7954
+ berry: 0,
7955
+ }
7956
+ : {
7957
+ xp: 500000,
7958
+ condition: 'santa_claus_free',
7959
+ },
7960
+ penalties: undefined,
7961
+ },
7962
+ },
7963
+ },
7964
+ ],
7965
+ },
7966
+ },
7967
+ ],
7968
+ },
7969
+ },
7970
+ {
7971
+ id: 'uc_attack_again_again',
7972
+ label: t('raids.happy_christmas.uc_attack_again_again.label'),
7973
+ output: {
7974
+ id: 'ev_succeed_attack_again_again',
7975
+ title: t('raids.happy_christmas.ev_succeed_attack_again_again.title'),
7976
+ text: t('raids.happy_christmas.ev_succeed_attack_again_again.text'),
7977
+ rewards: undefined,
7978
+ penalties: undefined,
7979
+ outputs: [
7980
+ {
7981
+ id: 'uc_continue',
7982
+ label: t('raids.happy_christmas.uc_continue.label'),
7983
+ output: {
7984
+ id: 'c_elf_status',
7985
+ requirements: itemId ===
7986
+ 'sailing_boat'
7987
+ ? {
7988
+ conditions: [
7989
+ 'elf_free',
7990
+ ],
7991
+ mode: 'exclude',
7992
+ }
7993
+ : {
7994
+ conditions: [
7995
+ 'elf_free',
7996
+ ],
7997
+ mode: 'exclude',
7998
+ },
7999
+ success: {
8000
+ id: 'end_beat_frost_elf_still_prisoner',
8001
+ title: t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.title'),
8002
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_still_prisoner.text', {
8003
+ rewards: formatRewards('end_beat_frost_elf_still_prisoner', obtainedRewards, itemId ===
8004
+ 'rudder'
8005
+ ? {
8006
+ condition: 'santa_claus_free',
8007
+ xp: 0,
8008
+ }
8009
+ : itemId ===
8010
+ 'rescue_boat'
8011
+ ? {
8012
+ condition: 'santa_claus_free',
8013
+ berry: 0,
8014
+ }
8015
+ : {
8016
+ condition: 'santa_claus_free',
8017
+ }, undefined),
8018
+ }),
8019
+ rewards: itemId ===
8020
+ 'rudder'
8021
+ ? {
8022
+ condition: 'santa_claus_free',
8023
+ xp: 0,
8024
+ }
8025
+ : itemId ===
8026
+ 'rescue_boat'
8027
+ ? {
8028
+ condition: 'santa_claus_free',
8029
+ berry: 0,
8030
+ }
8031
+ : {
8032
+ condition: 'santa_claus_free',
8033
+ },
8034
+ penalties: undefined,
8035
+ },
8036
+ failure: {
8037
+ id: 'end_beat_frost_elf_free',
8038
+ title: t('raids.happy_christmas.end_beat_frost_elf_free.title'),
8039
+ text: (obtainedRewards) => t('raids.happy_christmas.end_beat_frost_elf_free.text', {
8040
+ rewards: formatRewards('end_beat_frost_elf_free', obtainedRewards, itemId ===
8041
+ 'rudder'
8042
+ ? {
8043
+ xp: 550000,
8044
+ sugar_cane_christmas: 1000,
8045
+ berry: 500000000,
8046
+ condition: 'santa_claus_free',
8047
+ title: 'Héros de Noël',
8048
+ }
8049
+ : itemId ===
8050
+ 'rescue_boat'
8051
+ ? {
8052
+ xp: 500000,
8053
+ sugar_cane_christmas: 1000,
8054
+ berry: 750000000,
8055
+ condition: 'santa_claus_free',
8056
+ title: 'Héros de Noël',
8057
+ }
8058
+ : {
8059
+ xp: 500000,
8060
+ sugar_cane_christmas: 1000,
8061
+ berry: 500000000,
8062
+ condition: 'santa_claus_free',
8063
+ title: 'Héros de Noël',
8064
+ }, undefined),
8065
+ }),
8066
+ rewards: itemId ===
8067
+ 'rudder'
8068
+ ? {
8069
+ xp: 550000,
8070
+ sugar_cane_christmas: 1000,
8071
+ berry: 500000000,
8072
+ condition: 'santa_claus_free',
8073
+ title: 'Héros de Noël',
8074
+ }
8075
+ : itemId ===
8076
+ 'rescue_boat'
8077
+ ? {
8078
+ xp: 500000,
8079
+ sugar_cane_christmas: 1000,
8080
+ berry: 750000000,
8081
+ condition: 'santa_claus_free',
8082
+ title: 'Héros de Noël',
8083
+ }
8084
+ : {
8085
+ xp: 500000,
8086
+ sugar_cane_christmas: 1000,
8087
+ berry: 500000000,
8088
+ condition: 'santa_claus_free',
8089
+ title: 'Héros de Noël',
8090
+ },
8091
+ penalties: undefined,
8092
+ },
8093
+ },
8094
+ },
8095
+ ],
8096
+ },
8097
+ },
8098
+ ],
8099
+ },
8100
+ },
8101
+ },
8102
+ ],
8103
+ },
8104
+ },
8105
+ },
8106
+ ],
8107
+ },
8108
+ },
6019
8109
  },
6020
8110
  ],
6021
8111
  },