66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"AbilityName": "Common_Pinball_AddDashEnergyOnHit",
|
|
"AbilitySpecials": {
|
|
"AS_DashAddCD": {
|
|
"Value": 0.1
|
|
},
|
|
"AS_DashEnergyPerHit": {
|
|
"Value": 20
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"Modifiers": {
|
|
"Common_Pinball_AddDashEnergy_CD": {
|
|
"Duration": "%AS_DashAddCD",
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_DashEnergyPerHit",
|
|
"CustomPropertyType": "Pinball_DashEnergy",
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "Custom",
|
|
"Target": "LocalAvatar"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"OnAbilityTrigger": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Common_Pinball_AddDashEnergy_CD",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByTags",
|
|
"TagList": [
|
|
"Pinball_MeleeEnemy"
|
|
],
|
|
"Target": "Other"
|
|
},
|
|
{
|
|
"$type": "ByEntityType",
|
|
"EntityType": "Monster",
|
|
"Target": "Other"
|
|
},
|
|
{
|
|
"$type": "ByPinballContact",
|
|
"CasterKind": "Ball",
|
|
"OtherKind": "Target"
|
|
},
|
|
{
|
|
"$type": "ByNot",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByHasModifier",
|
|
"ModifierNameList": [
|
|
"Common_Pinball_AddDashEnergy_CD"
|
|
],
|
|
"Target": "LocalAvatar"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Target": "LocalAvatar"
|
|
}
|
|
]
|
|
} |