ZenlessData/Data/Golem_Part.json
2024-09-23 09:11:37 -03:00

99 lines
2.3 KiB
JSON

{
"AbilityMixins": [
{
"$type": "MultiPartMixin",
"BindHitColliderList": [
"HitCollider_Weapon_L",
"HitCollider_Weapon_R"
],
"IsUseHitFlowOnDestroyed": true,
"MaxHP": "%AS_PartHP",
"OnPartDestroy": [
{
"$type": "ApplyModifier",
"ModifierName": "PartDestroyedModifier",
"Target": "Self"
}
],
"OwnerDamagetakeRatio": 0,
"PartDamageTakeRatio": 0,
"PartHP": "%AS_PartHP",
"PartName": "Golem_Part"
}
],
"AbilityName": "Golem_Part",
"AbilitySpecials": {
"AS_PartHP": {
"Value": 50
},
"AS_PartHPRatio": {
"Value": 0.4
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "SetAbilitySpecialByExpression",
"DoRefresh": true,
"Expression": "property(MaxHP)*specials(AS_PartHPRatio)",
"ParamName": "AS_PartHP",
"Target": "Self",
"ValueType": "Float"
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HasPart"
],
"IsAdd": true,
"Target": "Self"
}
]
},
"Modifiers": {
"PartDestroyedModifier": {
"Duration": 1,
"IgnoreTimeScale": true,
"ModifierStacking": "Replace",
"OnAdded": [
{
"$type": "PushRenderVisibleAction",
"Paths": [
"Monster_Golem_Weapon_Break_01"
],
"Tag": "Golem_Weapon_L01",
"Visible": false
},
{
"$type": "PushRenderVisibleAction",
"Paths": [
"Monster_Golem_Weapon_Break_02"
],
"Tag": "Golem_Weapon_L02",
"Visible": false
},
{
"$type": "HandleAnimatorZoneTagsAction",
"AnimatorStateTags": [
"HasPart"
],
"IsAdd": false,
"Target": "Self"
},
{
"$type": "FireEffect",
"AttachPointName": "Bip001 L Hand",
"EffectPattern": "Eff_Monster_Golem_Broken_01",
"Target": "Self"
},
{
"$type": "FireEffect",
"AttachPointName": "Bip001 R Hand",
"EffectPattern": "Eff_Monster_Golem_Broken_01",
"Target": "Self"
}
]
}
}
}