186 lines
4.5 KiB
JSON
186 lines
4.5 KiB
JSON
{
|
|
"AbilityName": "Monster_Common_AlertControl",
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnEnterBattleStateChange": [
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Enter",
|
|
"State": "EnterBattle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendEventToViewObjectAction",
|
|
"EventName": "MonsterEnterBattle"
|
|
},
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_InBattle",
|
|
"ParamType": 1,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "RemoveModifier",
|
|
"ModifierName": "Modifier_RecoverHP_DecreaseStun_RBLUp"
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_EnterBattleState"
|
|
],
|
|
"IsAdd": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Exit",
|
|
"State": "EnterBattle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "SendEventToViewObjectAction",
|
|
"EventName": "MonsterExitBattle"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Modifier_RecoverHP_DecreaseStun_RBLUp"
|
|
},
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_EnterBattleState"
|
|
],
|
|
"IsAdd": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Enter",
|
|
"State": "Idle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_IdleState"
|
|
],
|
|
"IsAdd": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Exit",
|
|
"State": "Idle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_IdleState"
|
|
],
|
|
"IsAdd": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Enter",
|
|
"State": "ExitBattle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_ExitBattleState"
|
|
],
|
|
"IsAdd": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "BranchOperator",
|
|
"Conditions": [
|
|
{
|
|
"$type": "ByEnterBattleStateChange",
|
|
"ChangeType": "Exit",
|
|
"State": "ExitBattle"
|
|
}
|
|
],
|
|
"SuccessActions": [
|
|
{
|
|
"$type": "HandleAnimatorZoneTagsAction",
|
|
"AnimatorStateTags": [
|
|
"Alert_ExitBattleState"
|
|
],
|
|
"IsAdd": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"Modifier_RecoverHP_DecreaseStun_RBLUp": {
|
|
"Duration": -1,
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "SmoothRecoverHPMixin",
|
|
"IgnoreRatio": true,
|
|
"PropertyItem": {
|
|
"Percentage": 0.05,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "MaxHP"
|
|
}
|
|
},
|
|
{
|
|
"$type": "SmoothChangePropertyMixin",
|
|
"PropertyItems": [
|
|
{
|
|
"Percentage": -0.05,
|
|
"PropertyModifyFunction": "Add",
|
|
"PropertyType": "CurStun"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetRBLOffsetAction",
|
|
"RBLOffset": 2,
|
|
"Tag": "Monster_ExitBattle_RBL_Up",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "UnsetRBLOffsetAction",
|
|
"Tag": "Monster_ExitBattle_RBL_Up",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |