1
0
ZenlessData/Data/JsonBytes/NewAbility/EnemyAbility/Airborne/Airborne_Explode.json
2025-09-04 01:06:25 +02:00

297 lines
7.1 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Idle",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": true,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"EffectModifier"
]
},
{
"AnimatorStateName": "Hit",
"FrameCountHigh": 0,
"FrameCountLow": 0,
"IsLoop": false,
"LayerIndex": 0,
"MaxFrameCountHigh": true,
"MaxFrameCountLow": false,
"ModifierNameList": [
"EffectModifier"
]
}
]
},
{
"$type": "LockLifePropertyMixin",
"PerformBeHitEffect": true,
"RatioLockList": [
{
"LockType": "Total",
"LockValue": 1
}
]
}
],
"AbilityName": "Airborne_Explode",
"AbilitySpecials": {
"AS_Damage": {
"Value": 0
},
"AS_DamageByHp_Boss": {
"Value": 0.1
},
"AS_DamageByHp_Elite": {
"Value": 0.2
},
"AS_DamageByHp_Normal": {
"Value": 0.5
},
"AS_Damage_Max": {
"Value": 300000
},
"AS_Damage_Max_Ratio": {
"Value": 1
},
"AS_Damage_Max_Temp": {
"Value": 300000
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"Airborne_ZoneTag"
],
"IsAdd": true,
"Target": "Self"
}
],
"OnBeingHit": [
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_BeingHit",
"ParamType": 1,
"Predicates": [
{
"$type": "ByEntityType",
"EntityType": "Avatar",
"Target": "Other"
}
],
"Target": "Self"
},
{
"$type": "ReplaceDamageAction",
"TargetDamage": 0
},
{
"$type": "ModifyAttackDataAction",
"PropertyKey": "Actor_MuteShowDamageText",
"PropertyValue": 1,
"Target": "Self"
}
],
"OnHitOther": [
{
"$type": "ModifyAttackDataAction",
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Airborne_ZoneTag"
],
"Target": "Target"
},
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
]
}
],
"PropertyKey": "Actor_MuteShowDamageText",
"PropertyValue": 1,
"Target": "Self"
},
{
"$type": "SetAbilitySpecialsByPropertyAction",
"ModifyFunction": "Replace",
"ParamName": "AS_Damage",
"Percentage": "%AS_DamageByHp_Elite",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
],
"Target": "Self"
},
{
"$type": "ByMonsterStrengthType",
"CompareType": "Equal",
"StrengthType": "Elite",
"Target": "Target"
}
],
"PropertyType": "MaxHP",
"Target": "Target"
},
{
"$type": "SetAbilitySpecialsByPropertyAction",
"ModifyFunction": "Replace",
"ParamName": "AS_Damage",
"Percentage": "%AS_DamageByHp_Normal",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
],
"Target": "Self"
},
{
"$type": "ByMonsterStrengthType",
"CompareType": "Equal",
"StrengthType": "Normal",
"Target": "Target"
}
],
"PropertyType": "MaxHP",
"Target": "Target"
},
{
"$type": "SetAbilitySpecialsByPropertyAction",
"ModifyFunction": "Replace",
"ParamName": "AS_Damage",
"Percentage": "%AS_DamageByHp_Boss",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
],
"Target": "Self"
},
{
"$type": "ByMonsterStrengthType",
"CompareType": "Equal",
"StrengthType": "Boss",
"Target": "Target"
}
],
"PropertyType": "MaxHP",
"Target": "Target"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_Damage_Max)*specials(AS_Damage_Max_Ratio)",
"ParamName": "AS_Damage_Max_Temp",
"Target": "Self"
},
{
"$type": "SetAbilitySpecialsByPropertyAction",
"Amount": "%AS_Damage_Max_Temp",
"ModifyFunction": "Replace",
"ParamName": "AS_Damage",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
],
"Target": "Self"
},
{
"$type": "ByAbilitySpecial",
"CompareType": "GreaterEqual",
"Param": "%AS_Damage_Max_Temp",
"ParamName": "AS_Damage",
"ParamType": "Float",
"Target": "Self"
}
],
"Target": "Target"
},
{
"$type": "ReplaceDamageAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Airborne_ATK_Attackproperty"
],
"Target": "Self"
}
],
"TargetDamage": "%AS_Damage"
}
],
"OnHitOtherPre": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"Airborne_ZoneTag"
],
"Target": "Other"
}
],
"FailureActions": [
{
"$type": "SetAnimCtrlerParamAction",
"ParamName": "Trigger_Death",
"ParamType": 1,
"Target": "Caster"
}
],
"SuccessActions": [
],
"Target": "Other"
}
]
},
"Modifiers": {
"EffectModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "FireEffect",
"EffectPattern": "Eff_Destruction_Prop_Airborne_01_01_Light",
"Target": "Self"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "PushRenderVisibleAction",
"Paths": [
"Destruction_Prop_Airborne_01"
],
"Tag": "Airborne_01",
"Visible": false
},
{
"$type": "SpecialEffectFadeAction",
"EffectNames": [
"Eff_Destruction_Prop_Airborne_01_01_Light"
],
"OverrideFadeOutTime": 0,
"Target": "Self"
}
]
}