119 lines
3.0 KiB
JSON
119 lines
3.0 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "ActwithStateFrameMixin",
|
|
"ConfigList": [
|
|
{
|
|
"ActionList": [
|
|
{
|
|
"$type": "RecoverHPAction",
|
|
"IgnoreRatio": true,
|
|
"Percentage": "%AS_RecoverHpRatio",
|
|
"PropertyModifyFunction": "Add"
|
|
},
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "Monster_TurnBased_Common_DefensiveActionEffect",
|
|
"InitAbilitySpecialList": [
|
|
{
|
|
"SpecialName": "AS_Type",
|
|
"Value": "Evade",
|
|
"ValueType": "String"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AnimatorStateName": "Evade",
|
|
"ForceTriggerOnTransitionIn": true,
|
|
"Frame": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "Bodyguard_TurnBased_DefensiveAction",
|
|
"AbilitySpecials": {
|
|
"AS_RecoverHpRatio": {
|
|
"Value": 0.1,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnCustomEventReceived": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Bodyguard_TurnBased_DefensiveAction_RealTimeQTE",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "TurnBased_TriggerDefensiveAction"
|
|
},
|
|
{
|
|
"$type": "ByDistance",
|
|
"CompareTarget": "SelfAttackTarget",
|
|
"CompareType": "Less",
|
|
"Distance": 5
|
|
},
|
|
{
|
|
"$type": "ByCampType",
|
|
"Camp": "TeamGood"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnUnitTurnOver": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"TurnBased_EnableDefensiveAction"
|
|
],
|
|
"IsAdd": true
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"Bodyguard_TurnBased_DefensiveAction_RealTimeQTE": {
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "ListenRealtimeQTEMixin",
|
|
"CustomTag": "Common_TurnBased_DefensiveAction_RealTimeQTE",
|
|
"OnFinish": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Bodyguard_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
],
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": 11,
|
|
"ParamName": "Int_AttackIndex",
|
|
"ParamType": 3
|
|
},
|
|
{
|
|
"$type": "LogStringAction",
|
|
"LogStr": "qidong"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnAdded": [
|
|
{
|
|
"$type": "StartRealtimeQTEAction",
|
|
"ConfigKey": "Common_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Bodyguard_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |