Ghost

Game resources

GraymaneCenturion MathModule

game_resourceIntrinsic/flexbuffers-json/GraymaneCenturion_MathModule

Properties

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