1
0
ZenlessData/Data/TacticalAssaultGunner_PartDestroyManager.json
2025-03-11 21:10:23 -03:00

108 lines
2.7 KiB
JSON

{
"AbilityMixins": [
{
"$type": "MultiPartMixin",
"BindHitColliderList": [
"HitColliderOD"
],
"CanHitAfterDestroyed": true,
"IsUseHitFlowOnDestroyed": true,
"MaxPartHP": "%MaxPartHP",
"OnPartDestroy": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_OnPartDestroyed",
"ParamType": 1,
"Target": "Self"
}
],
"OwnerDamagetakeRatio": 0,
"PartDamageTakeRatio": 0,
"PartHP": "%InitPartHP",
"PartName": "TacticalAssaultGunner_Jar"
}
],
"AbilityName": "TacticalAssaultGunner_PartDestroyManager",
"AbilitySpecials": {
"AS_InitPartHP_Ratio": {
"Value": 0.5
},
"AS_MaxPartHP_Ratio": {
"Value": 0.5
},
"InitPartHP": {
"Value": 1
},
"MaxPartHP": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_MaxPartHP_Ratio)",
"ParamName": "MaxPartHP",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_InitPartHP_Ratio)",
"ParamName": "InitPartHP",
"ValueType": "Float"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%MaxPartHP",
"ModifyFunction": "Replace",
"ParamType": "MaxPartHP",
"PartName": "TacticalAssaultGunner_Jar",
"Target": "Self"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%InitPartHP",
"ModifyFunction": "Replace",
"ParamType": "PartHP",
"PartName": "TacticalAssaultGunner_Jar",
"Target": "Self"
}
]
},
"OnAbilityStart": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_MaxPartHP_Ratio)",
"ParamName": "MaxPartHP",
"ValueType": "Float"
},
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_InitPartHP_Ratio)",
"ParamName": "InitPartHP",
"ValueType": "Float"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%MaxPartHP",
"ModifyFunction": "Replace",
"ParamType": "MaxPartHP",
"PartName": "TacticalAssaultGunner_Jar",
"Target": "Self"
},
{
"$type": "ModifyPartParamAction",
"Amount": "%InitPartHP",
"ModifyFunction": "Replace",
"ParamType": "PartHP",
"PartName": "TacticalAssaultGunner_Jar",
"Target": "Self"
}
]
}