191 lines
4.9 KiB
JSON
191 lines
4.9 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "ActwithStateFrameMixin",
|
|
"ConfigList": [
|
|
{
|
|
"ActionList": [
|
|
{
|
|
"$type": "ModifyProperty",
|
|
"Amount": "%AS_RecoverSp",
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "CurSP"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Durahan_TurnBased_DefensiveAction_Block"
|
|
}
|
|
],
|
|
"AnimatorStateName": "Attack_06_01",
|
|
"ForceTriggerOnTransitionIn": true,
|
|
"Frame": 0
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "Durahan_TurnBased_DefensiveAction",
|
|
"AbilitySpecials": {
|
|
"AS_RecoverSp": {
|
|
"Value": 5,
|
|
"ValueType": "Float"
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnCustomEventReceived": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Durahan_TurnBased_DefensiveAction_RealTimeQTE",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByCustomEvent",
|
|
"EventKey": "TurnBased_TriggerDefensiveAction"
|
|
},
|
|
{
|
|
"$type": "ByDistance",
|
|
"CompareTarget": "SelfAttackTarget",
|
|
"CompareType": "Less",
|
|
"Distance": 5
|
|
},
|
|
{
|
|
"$type": "ByCampType",
|
|
"Camp": "TeamGood"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnUnitTurnOver": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByAnimatorStateNormalizedTime",
|
|
"AnimatorStateName": "Skill_01_Charge",
|
|
"FrameCountLow": 0,
|
|
"IsLoop": true,
|
|
"LayerIndex": 0,
|
|
"MaxFrameCountHigh": true
|
|
}
|
|
],
|
|
"FailureActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"TurnBased_EnableDefensiveAction"
|
|
],
|
|
"IsAdd": true
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"TurnBased_EnableDefensiveAction"
|
|
],
|
|
"IsAdd": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"Durahan_TurnBased_DefensiveAction_Block": {
|
|
"Duration": 0.5,
|
|
"IsUnique": true,
|
|
"OnAdded": [
|
|
{
|
|
"$type": "PushBlockStateAction"
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"PropertyKey": "Actor_NoHitEffect",
|
|
"PropertyValue": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ModifyAttackDataAction",
|
|
"PropertyKey": "Actor_NoDamage",
|
|
"PropertyValue": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "DamageByAttackPropertyAction",
|
|
"AnimEventID": "Monster_TurnBased_Durahan_Block_Attackproperty",
|
|
"Attacker": "Self",
|
|
"Target": "Other"
|
|
},
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "Monster_TurnBased_Common_DefensiveActionEffect",
|
|
"InitAbilitySpecialList": [
|
|
{
|
|
"SpecialName": "AS_Type",
|
|
"Value": "Block",
|
|
"ValueType": "String"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "TriggerAbilityAction",
|
|
"AbilityName": "Monster_TurnBased_CommonBuff_HateTag",
|
|
"Target": "SelfAttackTarget"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Durahan_TurnBased_DefensiveAction_Block"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "PopBlockStateAction"
|
|
}
|
|
]
|
|
},
|
|
"Durahan_TurnBased_DefensiveAction_RealTimeQTE": {
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "ListenRealtimeQTEMixin",
|
|
"CustomTag": "Common_TurnBased_DefensiveAction_RealTimeQTE",
|
|
"OnFinish": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Durahan_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
],
|
|
"OnSuccess": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_PressAttackA",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"IntVal": 5,
|
|
"ParamName": "Int_AttackIndex",
|
|
"ParamType": 3
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"OnAdded": [
|
|
{
|
|
"$type": "StartRealtimeQTEAction",
|
|
"ConfigKey": "Common_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
],
|
|
"OnBeingHit": [
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Durahan_TurnBased_DefensiveAction_RealTimeQTE"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |