1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

feat: add electric trilogy challenge

(cherry picked from commit ca0f82b2bd)
This commit is contained in:
AnthonyFuller 2024-09-12 13:00:59 +01:00
parent 1cc36d5c5f
commit f3edd06381

View File

@ -426,6 +426,108 @@
"ContractIds": ["095261b5-e15b-4ca1-9bb7-001fb85c5aaa"]
}
},
{
"Id": "6c3f0267-5d67-4a70-ac12-fcf4ea2202eb",
"Name": "UI_CHALLENGES_STINGRAY_ELECTRICITYKILLALL_NAME",
"ImageName": "images/challenges/Opulent/electricitykillall.jpg",
"Description": "UI_CHALLENGES_STINGRAY_ELECTRICITYKILLALL_DESC",
"Rewards": {
"MasteryXP": 4000
},
"Drops": ["PROP_DEVICE_ICA_MODULAR_PROXIMITY_MICRO_TASER"],
"IsPlayable": true,
"IsLocked": true,
"HideProgression": false,
"CategoryName": "UI_MENU_PAGE_PROFILE_CHALLENGES_CATEGORY_SIGNATUREKILL",
"Icon": "challenge_category_assassination",
"LocationId": "LOCATION_PARENT_OPULENT",
"ParentLocationId": "LOCATION_PARENT_OPULENT",
"Type": "contract",
"DifficultyLevels": [],
"OrderIndex": 10000,
"XpModifier": {},
"RuntimeType": "Hit",
"Definition": {
"Constants": {
"Goal": 3
},
"Context": {
"Count": 0,
"TargetKilled": []
},
"ContextListeners": {
"Count": {
"type": "challengecounter",
"count": "$.Count",
"total": "$.Goal",
"text": "UI_CHALLENGES_STINGRAY_ELECTRICITYKILLALL_NAME"
}
},
"Scope": "session",
"States": {
"Start": {
"Kill": [
{
"Actions": {
"$inc": "Count",
"$pushunique": [
"TargetKilled",
"$Value.RepositoryId"
]
},
"Condition": {
"$and": [
{
"$not": {
"$any": {
"?": {
"$eq": [
"$.#",
"$Value.RepositoryId"
]
},
"in": "$.TargetKilled"
}
}
},
{
"$eq": [
"$Value.IsTarget",
true
]
},
{
"$any": {
"?": {
"$eq": [
"$.#",
"accident_electric"
]
},
"in": [
"$Value.KillMethodBroad",
"$Value.KillMethodStrict"
]
}
}
]
}
},
{
"Condition": {
"$eq": ["$.Count", "$.Goal"]
},
"Transition": "Success"
}
]
}
}
},
"Tags": ["story", "assassination", "hard"],
"InclusionData": {
"ContractIds": ["095261b5-e15b-4ca1-9bb7-001fb85c5aaa"]
}
},
{
"Id": "74ebc46d-c394-4295-8062-b7ce69abef62",
"Name": "UI_CHALLENGES_STINGRAY_GAS_UNDERGROUND_NAME",