1
0
ZenlessData/Data/_unsorted/Banyrek_EvadeManager.json

270 lines
7.4 KiB
JSON

{
"AbilityName": "Banyrek_EvadeManager",
"AbilitySpecials": {
"AS_BackIndex": {
"Value": 0,
"ValueType": "Integer"
},
"AS_FrontIndex": {
"Value": 1,
"ValueType": "Integer"
},
"AS_LeftIndex": {
"Value": 2,
"ValueType": "Integer"
},
"AS_RightIndex": {
"Value": 3,
"ValueType": "Integer"
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnCustomEventReceived": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_EvadeProbability",
"ParamType": "Float",
"Predicates": [
{
"$type": "ByCustomEvent",
"EventKey": "HeavyStriker_InitEvadeManager"
}
]
}
]
},
"OnAbilityTrigger": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAngleRange",
"AngleMax": 60,
"AngleMin": -60,
"CompareTarget": "SelfAttackTarget"
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAngleRange",
"AngleMax": -60,
"AngleMin": -150,
"CompareTarget": "SelfAttackTarget"
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByAngleRange",
"AngleMax": 150,
"AngleMin": 60,
"CompareTarget": "SelfAttackTarget"
}
],
"FailureActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_BackIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 3,
"ParamName": "AS_LeftIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 2,
"ParamName": "AS_RightIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_FrontIndex",
"ParamType": "Integer"
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 3,
"ParamName": "AS_BackIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_LeftIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_RightIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 2,
"ParamName": "AS_FrontIndex",
"ParamType": "Integer"
}
]
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 2,
"ParamName": "AS_BackIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_LeftIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_RightIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 3,
"ParamName": "AS_FrontIndex",
"ParamType": "Integer"
}
]
}
],
"SuccessActions": [
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 0,
"ParamName": "AS_BackIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 2,
"ParamName": "AS_LeftIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 3,
"ParamName": "AS_RightIndex",
"ParamType": "Integer"
},
{
"$type": "SetAbilitySpecialAction",
"ModifyFunction": "Replace",
"Param": 1,
"ParamName": "AS_FrontIndex",
"ParamType": "Integer"
}
]
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "Less",
"Distance": 4
}
]
}
],
"FailureActions": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByOr",
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "Less",
"Distance": 8
}
]
}
],
"FailureActions": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": "%AS_FrontIndex",
"ParamName": "Int_EvadeType",
"ParamType": 3
}
],
"SuccessActions": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": "%AS_RightIndex",
"ParamName": "Int_EvadeType",
"ParamType": 3
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": "%AS_LeftIndex",
"ParamName": "Int_EvadeType",
"ParamType": 3
}
]
}
]
}
],
"SuccessActions": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": "%AS_BackIndex",
"ParamName": "Int_EvadeType",
"ParamType": 3
}
]
}
]
}