1
0
ZenlessData/Data/JsonBytes/NewAbility/AvatarAbility/LisaAbility/Lisa_UniqueSkill.json
2025-12-30 00:30:43 +01:00

206 lines
5.2 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"CustomPropertyType": "Lisa_UniqueSkill_Charge",
"IsUsePercentage": false,
"PropertyType": "Custom",
"ValueRangeActions": [
{
"LowToValueActions": [
{
"$type": "ApplyModifier",
"ModifierName": "Lisa_SpEnhance_Modifier",
"Target": "Self"
}
],
"Val": 8
},
{
"Val": 8,
"ValueToLowActions": [
{
"$type": "RemoveModifier",
"ModifierName": "Lisa_SpEnhance_Modifier",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "Lisa_UpgradeBuffModifier",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Lisa_Upgrade_02"
],
"Target": "Caster"
}
],
"Target": "Self"
}
]
}
]
}
]
}
],
"AbilityName": "Lisa_UniqueSkill",
"AbilitySpecials": {
"AS_Actor_AddedElementAccumulationRatio": {
"Value": 0
},
"AS_AddedDamageRatio_Elec": {
"Value": 0
},
"AS_UpgradeBuffDuration": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimTagList",
"TagList": [
"Lisa_UniqueSkill_Enhance"
]
}
],
"PropertyKey": "Actor_AddedElementAccumulationRatio",
"PropertyValue": "%AS_Actor_AddedElementAccumulationRatio",
"Target": "Self"
}
],
"OnPatternHitOther": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Lisa_Upgrade_01"
]
},
{
"$type": "ByAnimTagList",
"TagList": [
"UniqueSkill_Charge"
]
}
],
"SuccessActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "Less",
"CustomNumerator": "Lisa_UniqueSkill_Charge",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Caster",
"Val1": 8
}
],
"SuccessActions": [
{
"$type": "RemoveBuffModifier",
"BuffID": 3000083,
"StackCount": 1,
"Target": "Caster"
}
]
}
]
},
{
"$type": "ModifyProperty",
"Amount": 1,
"CustomPropertyType": "Lisa_UniqueSkill_Charge",
"IsUsePercentage": false,
"Percentage": 0,
"Predicates": [
{
"$type": "ByAnimTagList",
"TagList": [
"UniqueSkill_Charge"
]
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
}
]
},
"Modifiers": {
"Lisa_SpEnhance_Modifier": {
"Duration": -1,
"IgnoreTimeScale": false,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_IsEnhanceSp",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "AttachEffect",
"AttachEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"AttachPoint": "Ctr_F_Belt_02",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Lisa_Attack_Normal_03_Glow",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_IsEnhanceSp",
"ParamType": 2,
"Target": "Self"
}
]
},
"Lisa_UpgradeBuffModifier": {
"Buff": {
"BuffID": 3000084,
"IsOverrideDuration": true
},
"Duration": "%AS_UpgradeBuffDuration",
"ModifierStacking": "Refresh",
"Properties": {
"Actor_AddedDamageRatio_Elec": "%AS_AddedDamageRatio_Elec"
}
}
}
}