ZenlessData/Data/HeavyMachineBase_PartDamage.json

45 lines
1.1 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "HeavyMachineBase_PartDamage",
"AbilitySpecials": {
"AS_PartDestroy_Leg_HPPercentage": {
"Value": 0
},
"HpReduceAmount": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnBeingHit": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "specials(AS_PartDestroy_Leg_HPPercentage)*property(MaxHP)",
"ParamName": "HpReduceAmount",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_HeavyMachineBase_PartDestroyed_Leg_Attackproperty_01"
],
"Target": "Self"
}
],
"ValueType": "Float"
},
{
"$type": "ReplaceDamageAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_HeavyMachineBase_PartDestroyed_Leg_Attackproperty_01"
],
"Target": "Self"
}
],
"TargetDamage": "%HpReduceAmount"
}
]
}
}