1
0
ZenlessData/Data/_unsorted/GraymaneCenturion_MathModule.json
2026-03-24 00:03:37 +01:00

381 lines
10 KiB
JSON

{
"AbilityName": "GraymaneCenturion_MathModule",
"AbilityStacking": "Unique",
"DefaultModifier": {
"OnAdded": [
{
"$type": "ApplyModifier",
"ModifierName": "RandomValue",
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "P2CountValue",
"Target": "Self"
}
]
},
"Modifiers": {
"GraymanCenturionP2CycleCount": {
"OnAdded": [
{
"$type": "AddGlobalValue",
"Key": "P2Cyclecount",
"MaxValue": 3,
"MinValue": 0,
"Target": "Self",
"Value": 1
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "P2CycleEnd",
"ParamType": 2,
"Predicates": [
{
"$type": "ByTargetGlobalValue",
"CompareType": "Equal",
"Key": "P2Cyclecount",
"Target": "Self",
"Value": 3
}
],
"Target": "Self"
}
]
},
"GraymanCenturionP2CycleReset": {
"OnAdded": [
{
"$type": "SetGlobalValue",
"Key": "P2Cyclecount",
"MaxValue": 3,
"MinValue": 0,
"Target": "Self",
"Value": 0
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "P2CycleEnd",
"ParamType": 2,
"Target": "Self"
}
]
},
"GraymanCenturionP2Start": {
"OnAdded": [
{
"$type": "SetGlobalValue",
"Key": "P2Cyclecount",
"MaxValue": 3,
"MinValue": 0,
"Target": "Self",
"Value": 0
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "P2CycleEnd",
"ParamType": 2,
"Target": "Self"
}
]
},
"GraymanCenturionParryScore": {
"OnAdded": [
{
"$type": "SendCustomEvent",
"EventKey": "GraymaneCenturion_Abyss_Score_01_Action",
"IsGlobal": true,
"Predicates": [
{
"$type": "ByIsInZoneTags",
"Tags": [
"BossChallenge"
],
"Target": "Self"
}
],
"Target": "Self"
}
]
},
"P2CountValue": {
"ModifierMixins": [
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_15_Start",
"LayerIndex": 0,
"ModifierNameList": [
"GraymanCenturionP2Start"
],
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0
}
]
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_15",
"LayerIndex": 0,
"ModifierNameList": [
"GraymanCenturionP2CycleCount"
],
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0
}
]
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_13",
"LayerIndex": 0,
"ModifierNameList": [
"GraymanCenturionP2CycleReset"
],
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0
}
]
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "Attack_15_Parry",
"LayerIndex": 0,
"ModifierNameList": [
"GraymanCenturionP2CycleReset",
"GraymanCenturionParryScore"
],
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0
}
]
},
{
"$type": "AttachStateWithModifierMixin",
"ConfigList": [
{
"AnimatorStateName": "ShieldBroken",
"LayerIndex": 0,
"ModifierNameList": [
"GraymanCenturionParryScore"
],
"NormalizedTimeHigh": 1,
"NormalizedTimeLow": 0
}
]
}
]
},
"RandomValue": {
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "DistanceNear",
"ParamType": 2,
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "LessEqual",
"Distance": 5
}
],
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "DistanceNear",
"ParamType": 2,
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "Greater",
"Distance": 5
}
],
"Target": "Self"
},
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 3,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 5,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
]
}
]
}
],
"OnSuccess": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 2,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 1,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
]
}
]
}
],
"OnThinkInterval": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "DistanceNear",
"ParamType": 2,
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "LessEqual",
"Distance": 5
}
],
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": false,
"ParamName": "DistanceNear",
"ParamType": 2,
"Predicates": [
{
"$type": "ByDistance",
"CompareTarget": "SelfAttackTarget",
"CompareType": "Greater",
"Distance": 5
}
],
"Target": "Self"
},
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 3,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 5,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 4,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
]
}
]
}
],
"OnSuccess": [
{
"$type": "RandomOperator",
"Odds": 0.5,
"OnFailure": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 2,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
],
"OnSuccess": [
{
"$type": "SetAnimCtrlerParamAction",
"IntVal": 1,
"ParamName": "RandomSkillChain",
"ParamType": 3,
"Target": "Self"
}
]
}
]
}
],
"ThinkInterval": 0.1
}
}
}