ZenlessData/Data/Weapon_Ability_13009.json
2024-08-13 22:59:23 -03:00

165 lines
4.1 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ListenBuffMixin",
"OnBuffAdd": [
{
"$type": "ApplyModifier",
"ModifierName": "BuffModifier_Provider",
"Predicates": [
{
"$type": "ByHandlingBuffGroup",
"BuffGroupList": [
"Frozen",
"Frostbite",
"Burn",
"Ignite",
"Electric",
"Overload",
"Strike",
"Erosion",
"Chaos"
],
"Target": "Self"
}
],
"Target": "Caster"
}
],
"OnBuffRemove": [
{
"$type": "RemoveModifier",
"ModifierName": "BuffModifier_Provider",
"Predicates": [
{
"$type": "ByHandlingBuffGroup",
"BuffGroupList": [
"Frozen",
"Frostbite",
"Burn",
"Ignite",
"Electric",
"Overload",
"Strike",
"Erosion",
"Chaos"
],
"Target": "Self"
}
],
"StackCount": 1,
"Target": "Caster"
}
],
"TargetPredicates": [
{
"$type": "ByEntityType",
"EntityType": "Monster"
}
]
}
],
"AbilityName": "Weapon_Ability_13009",
"AbilitySpecials": {
"AS_AddedDamageRatio": {
"Value": 0.15
},
"AS_BaseAttackRatio": {
"Value": 0.15
},
"AS_BaseAttackRatio_Final": {
"Value": 0.0
},
"AS_ProviderCount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByHasBuffGroup",
"BuffGroupList": [
"Frozen",
"Frostbite",
"Burn",
"Ignite",
"Electric",
"Overload",
"Strike",
"Erosion",
"Chaos"
],
"Target": "Target"
}
],
"PropertyKey": "Actor_AddedDamageRatio",
"PropertyValue": "%AS_AddedDamageRatio",
"Target": "Self"
}
]
},
"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"
}
]
}
}
}