ZenlessData/Data/ComplexCorrupted_PartDamage.json
2024-08-13 22:59:23 -03:00

77 lines
2.0 KiB
JSON

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