207 lines
5.7 KiB
JSON
207 lines
5.7 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "AttachStateWithModifierMixin",
|
|
"ConfigList": [
|
|
{
|
|
"AnimatorStateName": "SpecialDeath",
|
|
"FrameCountHigh": 0,
|
|
"FrameCountLow": 0,
|
|
"IsLoop": false,
|
|
"LayerIndex": 0,
|
|
"MaxFrameCountHigh": true,
|
|
"MaxFrameCountLow": false,
|
|
"ModifierNameList": [
|
|
"HullColliderSwitcherModifier"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "ActwithStateFrameMixin",
|
|
"ConfigList": [
|
|
{
|
|
"ActionList": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "DeathTimer",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "DamageTakenModifier",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"AnimatorStateName": "TriggerSpecialDeath",
|
|
"ForceTriggerOnTransitionIn": true,
|
|
"ForceTriggerOnTransitionOut": false,
|
|
"Frame": 0,
|
|
"IsLoop": false,
|
|
"LayerIndex": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "MiasmaLightfootRover_SpecialDeath",
|
|
"AbilitySpecials": {
|
|
"AS_DamageTakeRatio": {
|
|
"Value": -0.8
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "ActionsOnPropertyChangeMixin",
|
|
"PropertyActions": [
|
|
{
|
|
"IsUsePercentage": true,
|
|
"PropertyType": "CurHP",
|
|
"RefPropertyType": "MaxHP",
|
|
"ValueRangeActions": [
|
|
{
|
|
"HighToValueActions": [
|
|
{
|
|
"$type": "SendCustomEvent",
|
|
"CustomKey": "Monster_MiasmaHeavyStriker_Twins",
|
|
"EventKey": "Event_TwinDying",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilityTargetCount",
|
|
"AbilityTargetKey": "Monster_MiasmaHeavyStriker_Twins",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
}
|
|
],
|
|
"Target": "Custom"
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Trigger_WaitingForDeath",
|
|
"ParamType": 1,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilityTargetCount",
|
|
"AbilityTargetKey": "Monster_MiasmaHeavyStriker_Twins",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"BeingExcuted"
|
|
],
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilityTargetCount",
|
|
"AbilityTargetKey": "Monster_MiasmaHeavyStriker_Twins",
|
|
"CompareType": "Equal",
|
|
"CompareValue": 1
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "DeathTimer",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilityTargetCount",
|
|
"AbilityTargetKey": "Monster_MiasmaHeavyStriker_Twins",
|
|
"CompareType": "NotEqual",
|
|
"CompareValue": 1
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Val": 0.5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAnimEventIDs",
|
|
"AnimEventIDs": [
|
|
"MiasmaHeavyStriker_Attack09_Attackproperty_01"
|
|
]
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "TriggerSpecialDeathModifier"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"DamageTakenModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"Properties": {
|
|
"Actor_DamageTakeRatio": "%AS_DamageTakeRatio"
|
|
}
|
|
},
|
|
"DeathTimer": {
|
|
"Duration": 5,
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Trigger_die",
|
|
"ParamType": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": -1,
|
|
"ParamName": "Int_DeathWay",
|
|
"ParamType": 3,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"HullColliderSwitcherModifier": {
|
|
"Duration": -1,
|
|
"IgnoreTimeScale": false,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "PushHullColliderEnable",
|
|
"HullColliderEnable": false,
|
|
"Tag": "MiasmaDrone_Collider",
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "LockLifeModifier"
|
|
}
|
|
]
|
|
},
|
|
"TriggerSpecialDeathModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Trigger_SpecialDeath",
|
|
"ParamType": 1,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |