ZenlessData/Data/MaterialHandler_PartDamage.json

58 lines
1.4 KiB
JSON
Raw Permalink Normal View History

{
"AbilityName": "MaterialHandler_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_MaterialHandler_PartDestroyed_Leg_Attackproperty_01"
],
"Target": "Self"
}
],
"ValueType": "Float"
},
{
"$type": "ReplaceDamageAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_MaterialHandler_PartDestroyed_Leg_Attackproperty_01"
],
"Target": "Self"
}
],
"TargetDamage": "%HpReduceAmount"
},
{
"$type": "LDListenEntityAction",
"Predicates": [
{
"$type": "ByAnimEventIDs",
"AnimEventIDs": [
"Monster_MaterialHandler_PartDestroyed_Leg_Attackproperty_01"
],
"Target": "Self"
}
],
"TargetKey": "PartDestroy"
}
]
}
}