ZenlessData/Data/Suit_Ability_50432400.json

121 lines
3.1 KiB
JSON
Raw Normal View History

{
"AbilityMixins": [
{
"$type": "ListenBuffMixin",
"OnBuffAdd": [
{
"$type": "ApplyModifier",
"ModifierName": "BuffModifier_Provider",
"Predicates": [
{
"$type": "ByHandlingBuffGroup",
"BuffGroupList": [
"Electric",
"Overload"
],
"Target": "Self"
}
],
"Target": "Caster"
}
],
"OnBuffRemove": [
{
"$type": "RemoveModifier",
"ModifierName": "BuffModifier_Provider",
"Predicates": [
{
"$type": "ByHandlingBuffGroup",
"BuffGroupList": [
"Electric",
"Overload"
],
"Target": "Self"
}
],
"StackCount": 1,
"Target": "Caster"
}
],
"TargetPredicates": [
{
"$type": "ByEntityType",
"EntityType": "Monster"
}
]
}
],
"AbilityName": "Suit_Ability_50432400",
"AbilitySpecials": {
"AS_BaseAttackRatio": {
"Value": 0.15
},
"AS_BaseAttackRatio_Final": {
"Value": 0.0
},
"AS_ProviderCount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"BuffModifier_Effect": {
"Duration": -1,
"ModifierStacking": "Replace",
"Properties": {
"Actor_BaseAttackRatio": "%AS_BaseAttackRatio_Final"
}
},
"BuffModifier_Provider": {
"Duration": -1,
"MaxStackingNumber": 99,
"ModifierStacking": "MultipleRefresh",
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_ProviderCount)+1",
"ParamName": "AS_ProviderCount",
"Target": "Caster",
"ValueType": "Integer"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_BaseAttackRatio)*min(specials(AS_ProviderCount),1)",
"ParamName": "AS_BaseAttackRatio_Final",
"Target": "Caster",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "BuffModifier_Effect",
"Target": "Caster"
}
],
"OnRemoved": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_ProviderCount)-1",
"ParamName": "AS_ProviderCount",
"Target": "Caster",
"ValueType": "Integer"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_BaseAttackRatio)*min(specials(AS_ProviderCount),1)",
"ParamName": "AS_BaseAttackRatio_Final",
"Target": "Caster",
"ValueType": "Float"
},
{
"$type": "ApplyModifier",
"ModifierName": "BuffModifier_Effect",
"Target": "Caster"
}
]
}
}
}