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

237 lines
5.8 KiB
JSON

{
"AbilityMixins": [
{
"$type": "ActionsOnPropertyChangeMixin",
"PropertyActions": [
{
"CustomPropertyType": "EnhanceNum",
"IsUsePercentage": false,
"PropertyType": "Custom",
"ValueRangeActions": [
{
"HighToValueActions": [
{
"$type": "RemoveModifier",
"ModifierName": "EnhanceModifier"
}
],
"Val": 0
}
]
}
]
}
],
"AbilityName": "Longinus_Enhance",
"AbilitySpecials": {
"AS_CriticalDamage_Talent_01": {
"Value": 0.15
},
"AS_Duration_Default": {
"Value": 30
},
"AS_Duration_Talent04": {
"Value": 30
},
"AS_EnhanceNum_Default": {
"Value": 8
},
"AS_MaxEnhanceNum_Default": {
"Value": 8
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ModifyProperty",
"Amount": "%AS_MaxEnhanceNum_Default",
"CustomPropertyType": "MaxEnhanceNum",
"Percentage": 0,
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
}
],
"OnCustomEventReceived": [
{
"$type": "ModifyProperty",
"Amount": 3,
"CustomPropertyType": "EnhanceNum",
"Percentage": 0,
"Predicates": [
{
"$type": "ByNot",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Coop_Equipment"
],
"Target": "Self"
}
]
},
{
"$type": "ByCustomEvent",
"EventKey": "BlockSuccess"
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
},
{
"$type": "ModifyProperty",
"Amount": -1,
"CustomPropertyType": "EnhanceNum",
"Percentage": 0,
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "Event_Normal05_Consume"
}
],
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
},
{
"$type": "ModifyProperty",
"Amount": 8,
"CustomPropertyType": "EnhanceNum",
"Percentage": 0,
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "BlockSuccess"
},
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomNumerator": "EnhanceNum",
"IsUsePercent": false,
"Numerator": "Custom",
"Target": "Self",
"Val1": 8
}
],
"PropertyModifyFunction": "Replace",
"PropertyType": "Custom"
},
{
"$type": "ApplyModifier",
"ModifierName": "EnhanceModifier",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "BlockSuccess"
}
]
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Longinus_Attack_Normal_Enhance_04_AttackProperty_05_01",
"Longinus_Attack_Normal_Enhance_04_AttackProperty_05_02"
]
},
{
"$type": "ByIsInZoneTags",
"Tags": [
"Longinus_Upgrade_01"
]
},
{
"$type": "ByHasModifier",
"ModifierNameList": [
"EnhanceModifier"
],
"Target": "Self"
}
],
"PropertyKey": "Actor_IsCauseStun",
"PropertyValue": -1,
"Target": "Self"
}
]
},
"Modifiers": {
"EnhanceModifier": {
"Duration": "%AS_Duration_Default",
"IgnoreTimeScale": false,
"ModifierStacking": "Refresh",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_IsEnhanced",
"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": "Weapon02",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"EffectPattern": "Eff_Longinus_Flame_Loop",
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_IsEnhanced",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "ModifyProperty",
"Amount": -99,
"CustomPropertyType": "EnhanceNum",
"Percentage": 0,
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ModifyProperty",
"Amount": "%AS_EnhanceNum_Default",
"CustomPropertyType": "EnhanceNum",
"Percentage": 0,
"PropertyModifyFunction": "Add",
"PropertyType": "Custom"
},
{
"$type": "ApplyModifier",
"ModifierName": "EnhanceModifier"
}
]
}