Skip to content

Commit 20a5798

Browse files
authored
feat: season of high-stakes challenges (#612)
<!-- Thanks for contributing to Peacock! Here's a bit of a template to help make sure everything relevant is covered. --> ## Scope - Big Boom, aka ['UI_CHALLENGES_SKUNK_DOUBLEEXPLOSION_NAME'] - One Too Many - Banana Blazer ## Test Plan challenges work as intended ## Checklist <!-- Just a few reminders to make sure everything is perfect. You can place an "X" in the boxes to tick them off. If you have not completed one of the steps below, you can create the pull request as a draft, and then check off the items as you go. When you have completed the checklist, press the "Ready for review" button. --> - [x] I have run Prettier to reformat any changed files - [x] I have verified my changes work
2 parents e62744b + 3918540 commit 20a5798

3 files changed

Lines changed: 305 additions & 0 deletions

File tree

contractdata/HAVEN/_HAVEN_CHALLENGES.json

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,152 @@
426426
"ContractIds": ["095261b5-e15b-4ca1-9bb7-001fb85c5aaa"]
427427
}
428428
},
429+
{
430+
"Id": "5b753203-7dac-4746-aa07-0f84af8ad04e",
431+
"Name": "UI_CHALLENGES_STINGRAY_POISONDROWNING_NAME",
432+
"ImageName": "images/challenges/Opulent/poisondrowning.jpg",
433+
"Description": "UI_CHALLENGES_STINGRAY_POISONDROWNING_DESC",
434+
"Rewards": {
435+
"MasteryXP": 4000
436+
},
437+
"Drops": ["PROP_MELEE_COCKTAILSHAKER"],
438+
"IsPlayable": true,
439+
"IsLocked": false,
440+
"HideProgression": false,
441+
"CategoryName": "UI_MENU_PAGE_PROFILE_CHALLENGES_CATEGORY_SIGNATUREKILL",
442+
"Icon": "challenge_category_assassination",
443+
"LocationId": "LOCATION_PARENT_OPULENT",
444+
"ParentLocationId": "LOCATION_PARENT_OPULENT",
445+
"Type": "contract",
446+
"DifficultyLevels": [],
447+
"OrderIndex": 10000,
448+
"XpModifier": {},
449+
"RuntimeType": "Hit",
450+
"Definition": {
451+
"Constants": {
452+
"TargetCount": 3
453+
},
454+
"Context": {
455+
"EmeticPoisonedTargets": [],
456+
"SedativePoisonedTargets": [],
457+
"EliminatedTargets": []
458+
},
459+
"ContextListeners": {
460+
"EliminatedTargets": {
461+
"type": "challengecounter",
462+
"count": "($.EliminatedTargets).Count",
463+
"total": "$.TargetCount"
464+
}
465+
},
466+
"Scope": "session",
467+
"States": {
468+
"Start": {
469+
"Actorsick": {
470+
"Condition": {
471+
"$eq": ["$Value.IsTarget", true]
472+
},
473+
"Actions": {
474+
"$pushunique": [
475+
"EmeticPoisonedTargets",
476+
"$Value.actor_R_ID"
477+
]
478+
}
479+
},
480+
"ActorNoMoreSick": {
481+
"Actions": {
482+
"$remove": [
483+
"EmeticPoisonedTargets",
484+
"$Value.actor_R_ID"
485+
]
486+
}
487+
},
488+
"Pacify": {
489+
"Condition": {
490+
"$and": [
491+
{
492+
"$eq": ["$Value.IsTarget", true]
493+
},
494+
{
495+
"$inarray": {
496+
"in": "$Value.DamageEvents",
497+
"?": {
498+
"$eq": [
499+
"$.#",
500+
"Sedated"
501+
]
502+
}
503+
}
504+
}
505+
]
506+
},
507+
"Actions": {
508+
"$pushunique": [
509+
"SedativePoisonedTargets",
510+
"$Value.RepositoryId"
511+
]
512+
}
513+
},
514+
"Stingray_PoisonDrowning_ActorAlive": {
515+
"Actions": {
516+
"$remove": [
517+
"SedativePoisonedTargets",
518+
"$Value"
519+
]
520+
}
521+
},
522+
"Kill": [
523+
{
524+
"Condition": {
525+
"$or": [
526+
{
527+
"$inarray": {
528+
"in": "$.EmeticPoisonedTargets",
529+
"?": {
530+
"$eq": [
531+
"$.#",
532+
"$Value.RepositoryId"
533+
]
534+
}
535+
}
536+
},
537+
{
538+
"$inarray": {
539+
"in": "$.SedativePoisonedTargets",
540+
"?": {
541+
"$eq": [
542+
"$.#",
543+
"$Value.RepositoryId"
544+
]
545+
}
546+
}
547+
}
548+
]
549+
},
550+
"Actions": {
551+
"$pushunique": [
552+
"EliminatedTargets",
553+
"$Value.RepositoryId"
554+
]
555+
}
556+
},
557+
{
558+
"Condition": {
559+
"$eq": [
560+
"($.EliminatedTargets).Count",
561+
"$.TargetCount"
562+
]
563+
},
564+
"Transition": "Success"
565+
}
566+
]
567+
}
568+
}
569+
},
570+
"Tags": ["story", "assassination", "hard"],
571+
"InclusionData": {
572+
"ContractIds": ["095261b5-e15b-4ca1-9bb7-001fb85c5aaa"]
573+
}
574+
},
429575
{
430576
"Id": "6c3f0267-5d67-4a70-ac12-fcf4ea2202eb",
431577
"Name": "UI_CHALLENGES_STINGRAY_ELECTRICITYKILLALL_NAME",

contractdata/MENDOZA/_MENDOZA_CHALLENGES.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4208,6 +4208,40 @@
42084208
},
42094209
"Tags": ["story", "medium", "feats"]
42104210
},
4211+
{
4212+
"Id": "e81a44f2-0f8a-4961-8971-acdf0298ee90",
4213+
"Name": "UI_CHALLENGES_ELEGANT_BANANABLAZER_NAME",
4214+
"ImageName": "images/challenges/Elegant/Elegant_BananaBlazer.jpg",
4215+
"Description": "UI_CHALLENGES_ELEGANT_BANANABLAZER_DESC",
4216+
"Rewards": {
4217+
"MasteryXP": 1000
4218+
},
4219+
"Drops": ["TOKEN_OUTFIT_HERO_SUMMER_YELLOW_REWARD"],
4220+
"IsPlayable": true,
4221+
"IsLocked": false,
4222+
"HideProgression": false,
4223+
"CategoryName": "UI_MENU_PAGE_PROFILE_CHALLENGES_CATEGORY_COMMUNITY",
4224+
"Icon": "challenge_category_feats",
4225+
"LocationId": "LOCATION_ELEGANT_LLAMA",
4226+
"ParentLocationId": "LOCATION_PARENT_ELEGANT",
4227+
"Type": "location",
4228+
"DifficultyLevels": [],
4229+
"OrderIndex": 10000,
4230+
"XpModifier": {},
4231+
"RuntimeType": "Hit",
4232+
"Definition": {
4233+
"Context": {},
4234+
"Scope": "session",
4235+
"States": {
4236+
"Start": {
4237+
"Llama_BananaInFire": {
4238+
"Transition": "Success"
4239+
}
4240+
}
4241+
}
4242+
},
4243+
"Tags": ["story", "easy", "feats"]
4244+
},
42114245
{
42124246
"Id": "22461270-6adf-4ce3-9e1f-c288e0671d36",
42134247
"Name": "UI_PEACOCK_GRAPEBUSH",

contractdata/WHITTLETON/_WHITTLETON_CHALLENGES.json

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,131 @@
735735
"ContractIds": ["82f55837-e26c-41bf-bc6e-fa97b7981fbc"]
736736
}
737737
},
738+
{
739+
"Id": "6c6a614e-51f9-4f2b-9f20-d2410eb59348",
740+
"Name": "UI_CHALLENGES_SKUNK_DOUBLEEXPLOSION_NAME",
741+
"ImageName": "images/challenges/Northamerica/SKUNK_doubleexplosion.jpg",
742+
"Description": "UI_CHALLENGES_SKUNK_DOUBLEEXPLOSION_DESC",
743+
"Rewards": {
744+
"MasteryXP": 4000
745+
},
746+
"Drops": ["PROP_EXPLOSIVE_FIREWORKS_FLASH"],
747+
"IsPlayable": true,
748+
"IsLocked": false,
749+
"HideProgression": false,
750+
"CategoryName": "UI_MENU_PAGE_PROFILE_CHALLENGES_CATEGORY_SIGNATUREKILL",
751+
"Icon": "challenge_category_assassination",
752+
"LocationId": "LOCATION_PARENT_NORTHAMERICA",
753+
"ParentLocationId": "LOCATION_PARENT_NORTHAMERICA",
754+
"Type": "contract",
755+
"DifficultyLevels": [],
756+
"OrderIndex": 10000,
757+
"XpModifier": {},
758+
"RuntimeType": "Hit",
759+
"Definition": {
760+
"Scope": "hit",
761+
"States": {
762+
"Start": {
763+
"Kill": [
764+
{
765+
"Condition": {
766+
"$and": [
767+
{
768+
"$eq": [
769+
"$Value.IsTarget",
770+
true
771+
]
772+
},
773+
{
774+
"$eq": [
775+
"$Value.KillClass",
776+
"explosion"
777+
]
778+
}
779+
]
780+
},
781+
"Transition": "OneTargetEliminated"
782+
},
783+
{
784+
"Condition": {
785+
"$and": [
786+
{
787+
"$eq": [
788+
"$Value.IsTarget",
789+
true
790+
]
791+
},
792+
{
793+
"$not": {
794+
"$eq": [
795+
"$Value.KillClass",
796+
"explosion"
797+
]
798+
}
799+
}
800+
]
801+
},
802+
"Transition": "Failure"
803+
}
804+
]
805+
},
806+
"OneTargetEliminated": {
807+
"Kill": [
808+
{
809+
"Condition": {
810+
"$and": [
811+
{
812+
"$eq": [
813+
"$Value.IsTarget",
814+
true
815+
]
816+
},
817+
{
818+
"$eq": [
819+
"$Value.KillClass",
820+
"explosion"
821+
]
822+
}
823+
]
824+
},
825+
"Transition": "Success"
826+
},
827+
{
828+
"Condition": {
829+
"$and": [
830+
{
831+
"$eq": [
832+
"$Value.IsTarget",
833+
true
834+
]
835+
},
836+
{
837+
"$not": {
838+
"$eq": [
839+
"$Value.KillClass",
840+
"explosion"
841+
]
842+
}
843+
}
844+
]
845+
},
846+
"Transition": "Failure"
847+
}
848+
],
849+
"$timer": {
850+
"Condition": {
851+
"$after": 1
852+
},
853+
"Transition": "Failure"
854+
}
855+
}
856+
}
857+
},
858+
"Tags": ["story", "assassination", "hard"],
859+
"InclusionData": {
860+
"ContractIds": ["82f55837-e26c-41bf-bc6e-fa97b7981fbc"]
861+
}
862+
},
738863
{
739864
"Id": "7cd380fd-dff8-4119-959b-a4d967d0ab42",
740865
"Name": "UI_CHALLENGES_SKUNK_JANUS_EAT_NAME",

0 commit comments

Comments
 (0)