90 lines
2.2 KiB
JSON
90 lines
2.2 KiB
JSON
{
|
|
"AbilityName": "Activity_BangbooDream_Weapon_Missile_Perk_ExtraMissile",
|
|
"AbilitySpecials": {
|
|
"AS_ByOdds": {
|
|
"Value": 0.55,
|
|
"ValueType": "Float"
|
|
},
|
|
"AS_ByOdds_Real": {
|
|
"Value": 0.55,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "item(1343018)*specials(AS_ByOdds)",
|
|
"ParamName": "AS_ByOdds_Real",
|
|
"ValueType": "Float"
|
|
},
|
|
{
|
|
"$type": "ApplyAbilityAction",
|
|
"AbilityName": "Activity_BangbooDream_Weapon_Missile_Launcher_Extra_L",
|
|
"IsAutoTrigger": false
|
|
},
|
|
{
|
|
"$type": "ApplyAbilityAction",
|
|
"AbilityName": "Activity_BangbooDream_Weapon_Missile_Launcher_Extra_R",
|
|
"IsAutoTrigger": false
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"ExtraMissile"
|
|
]
|
|
}
|
|
],
|
|
"OnLevelAbilityItemChanged": [
|
|
{
|
|
"$type": "SetAbilitySpecialByExpression",
|
|
"Expression": "item(1343018)*specials(AS_ByOdds)",
|
|
"ParamName": "AS_ByOdds_Real",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByLevelAbilityItemID",
|
|
"LevelAbilityItemID": 1343018
|
|
}
|
|
],
|
|
"ValueType": "Float"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"RandomExtraModifier": {
|
|
"Duration": 0.5,
|
|
"ModifierStacking": "Replace",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "RandomOperator",
|
|
"Odds": 0.5,
|
|
"OnFailure": [
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "Activity_BangbooDream_Weapon_Missile_Launcher_Extra_R"
|
|
}
|
|
],
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "Activity_BangbooDream_Weapon_Missile_Launcher_Extra_L"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "RandomOperator",
|
|
"Odds": "%AS_ByOdds",
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "RandomExtraModifier"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |