1
0
ZenlessData/Data/_unsorted/Sapper_Ability.json
2026-06-17 01:18:11 +02:00

188 lines
4.5 KiB
JSON

{
"AbilityMixins": [
{
"$type": "AttachZoneTagWithModifierMixin",
"ConfigList": [
{
"ModifierNameList": [
"SuperpositionMesh_ShowModifier"
],
"ZoneTag": "SuperpositionMonster"
},
{
"ModifierNameList": [
"HackerDroneMode_Modifier"
],
"ZoneTag": "HackerDroneMode"
}
]
}
],
"AbilityName": "Sapper_Ability",
"AbilitySpecials": {
"HackDroneSelfHitDamage": {
"Value": 1
},
"HackDroneSelfHitPercent": {
"Value": 2
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnBeingHit": [
{
"$type": "DamageByAttackPropertyAction",
"AnimEventID": "Monster_Sapper_HackDroneSelfHit",
"AttachPoint": "ChestPoint",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"#HackDrone_AttackProperty_01"
]
}
],
"Target": "Self"
}
],
"OnIndirectBeingHit": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(HackDroneSelfHitPercent)*property(MaxHP)",
"ParamName": "HackDroneSelfHitDamage",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Sapper_HackDroneSelfHit"
]
}
],
"ValueType": "Float"
},
{
"$type": "ReplaceDamageAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Sapper_HackDroneSelfHit"
]
}
],
"TargetDamage": "%HackDroneSelfHitDamage"
}
],
"OnIndirectBeingHitResolved": [
{
"$type": "ApplyModifier",
"ModifierName": "Sapper_HackDroneSelfKill_Modifier",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_Sapper_HackDroneSelfHit"
]
}
],
"Target": "Self"
}
]
},
"Modifiers": {
"HackerDroneMode_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_HackDie",
"ParamType": 2,
"Target": "Self"
}
],
"OnRemoved": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "Bool_HackDie",
"ParamType": 2,
"Target": "Self"
}
]
},
"Sapper_HackDroneSelfKill_Modifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Bool_HackDie",
"ParamType": 2,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": -1,
"ParamName": "Int_DeathWay",
"ParamType": 3,
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_Die",
"ParamType": 1,
"Target": "Self"
}
]
},
"SuperpositionMesh_ShowModifier": {
"Duration": -1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "PushRenderVisibleAction",
"MpRecoverOnRemote": true,
"Paths": [
"Monster_Sapper_02"
],
"Tag": "Monster_Sapper_02",
"Visible": true
},
{
"$type": "PushRenderVisibleAction",
"MpRecoverOnRemote": true,
"Paths": [
"Monster_BangbooPatrolMecha_03"
],
"Tag": "Monster_BangbooPatrolMecha_03",
"Visible": false
}
],
"OnRemoved": [
{
"$type": "PushRenderVisibleAction",
"MpRecoverOnRemote": true,
"Paths": [
"Monster_Sapper_02"
],
"Tag": "Monster_Sapper_02",
"Visible": false
},
{
"$type": "PushRenderVisibleAction",
"MpRecoverOnRemote": true,
"Paths": [
"Monster_BangbooPatrolMecha_03"
],
"Tag": "Monster_BangbooPatrolMecha_03",
"Visible": true
}
]
}
}
}