ZenlessData/Data/Suit_Ability_50432800.json

148 lines
3.8 KiB
JSON
Raw Permalink Normal View History

{
"AbilityMixins": [
{
"$type": "WatchEntityMixin",
"EntityTypes": [
"Avatar"
],
"OnEntityAwaked": [
{
"$type": "ApplyModifier",
"ModifierName": "ListenerModifier_50432800",
"Target": "TeamAvatars"
}
],
"Relationships": [
"Allied"
]
}
],
"AbilityName": "Suit_Ability_50432800",
"AbilitySpecials": {
"AS_AddedDamageRatio": {
"Value": 0.1
},
"AS_AddedDamageRatio_Final": {
"Value": 0.1
},
"AS_Duration": {
"Value": 15
},
"AS_StackCount": {
"Value": 0,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnTeamAvatarConstructed": [
{
"$type": "ApplyModifier",
"ModifierName": "ListenerModifier_50432800",
"Target": "TeamAvatars"
}
]
},
"Modifiers": {
"AddedDamageRatioModifier": {
"Duration": "%AS_Duration",
"MaxStackingNumber": 1,
"ModifierStacking": "Refresh",
"Properties": {
"Actor_AddedDamageRatio": "%AS_AddedDamageRatio_Final"
}
},
"ListenerModifier_50432800": {
"Duration": -1,
"IsUnique": true,
"ModifierStacking": "Unique",
"OnSwitchInBegin": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAvatarSwitchType",
"SwitchType": "AidAttack",
"Target": "Self"
},
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByAidAttackType",
"AidAttackType": "BeHitAid",
"Target": "Self"
},
{
"$type": "ByAidAttackType",
"AidAttackType": "CommonAid",
"Target": "Self"
}
]
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Add",
"Param": 1,
"ParamName": "AS_StackCount",
"ParamType": "Integer",
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Less",
"Param": 3,
"ParamName": "AS_StackCount",
"ParamType": "Integer",
"Target": "Caster"
}
],
"Target": "Caster"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_AddedDamageRatio)*specials(AS_StackCount)",
"ParamName": "AS_AddedDamageRatio_Final",
"Target": "Caster",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "StackCountTimerModifier",
"Target": "Caster"
},
{
"$type": "ApplyModifier",
"ModifierName": "AddedDamageRatioModifier",
"Target": "Self"
}
]
}
]
},
"StackCountTimerModifier": {
"Duration": "%AS_Duration",
"MaxStackingNumber": 1,
"ModifierStacking": "Refresh",
"OnRemoved": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_StackCount",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_AddedDamageRatio)*specials(AS_StackCount)",
"ParamName": "AS_AddedDamageRatio_Final",
"Target": "Caster",
"ValueType": "Float"
}
]
}
}
}