Ghost

Game resources

Cottus SpawnPhase

game_resourceIntrinsic/flexbuffers-json/Cottus_SpawnPhase

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Cottus_SpawnPhase.json
data
{
  "Modifiers": {
    "ChangePhaseModifer": {
      "OnAdded": [
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 2,
          "Target": "Self",
          "ParamName": "Int_CurrentPhase",
          "ParamType": 3
        },
        {
          "Tag": "WingVisible",
          "$type": "PushRenderVisibleAction",
          "Paths": [
            "Cottus_Wing"
          ],
          "Visible": true
        },
        {
          "Tag": "WeaponVisible",
          "$type": "PushRenderVisibleAction",
          "Paths": [
            "Cottus_Weapon"
          ],
          "Visible": false
        },
        {
          "Tag": "WeaponVisible",
          "$type": "PushRenderVisibleAction",
          "Paths": [
            "Cottus_Weapon"
          ],
          "Visible": false
        },
        {
          "$type": "RemoveAbilityAction",
          "Target": "Self",
          "AbilityName": "Cottus_SwitchPhase"
        },
        {
          "$type": "RemoveAbilityAction",
          "Target": "Self",
          "AbilityName": "Cottus_SwitchPhase_02"
        },
        {
          "Tag": "HitCollider_WingArm_Default",
          "$type": "PushHitColliderEnable",
          "Target": "Self",
          "ColliderName": [
            "HitCollider_L_WingArm",
            "HitCollider_R_WingArm"
          ],
          "HitColliderEnable": true
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "SwitchPhaseModifer": {
      "OnAdded": [
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "Cottus_SwitchPhase_02",
          "IsAutoTrigger": false
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "SwitchPhaseCutSceneModifer": {
      "OnAdded": [
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "Cottus_SwitchPhase",
          "IsAutoTrigger": false
        },
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "Cottus_SwitchPhase_CutScene",
          "IsAutoTrigger": false
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "IntVal": 1,
          "Target": "Self",
          "ParamName": "Int_BornType",
          "ParamType": 3
        },
        {
          "$type": "SetAnimCtrlerParamAction",
          "Target": "Self",
          "BoolVal": true,
          "ParamName": "Bool_SpecialDeath",
          "ParamType": 2
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "Cottus_SpawnPhase",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "Tags": [
              "CottusP2"
            ],
            "$type": "ByIsInZoneTags",
            "Target": "Self"
          }
        ],
        "FailureActions": [
          {
            "$type": "BranchOperator",
            "Conditions": [
              {
                "Tags": [
                  "CutScene"
                ],
                "$type": "ByIsInZoneTags",
                "Target": "Self"
              }
            ],
            "FailureActions": [
              {
                "$type": "BranchOperator",
                "Conditions": [
                  {
                    "Tags": [
                      "P1Only"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  }
                ],
                "FailureActions": [
                  {
                    "$type": "ApplyModifier",
                    "Target": "Self",
                    "ModifierName": "SwitchPhaseModifer"
                  }
                ],
                "SuccessActions": []
              }
            ],
            "SuccessActions": [
              {
                "$type": "ApplyModifier",
                "Target": "Self",
                "ModifierName": "SwitchPhaseCutSceneModifer"
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "ApplyModifier",
            "Target": "Self",
            "ModifierName": "ChangePhaseModifer"
          }
        ]
      },
      {
        "$type": "ApplyAbilityAction",
        "Target": "Self",
        "Predicates": [
          {
            "Tags": [
              "Perception"
            ],
            "$type": "ByIsInZoneTags",
            "Target": "Self"
          }
        ],
        "AbilityName": "Cottus_Perception"
      }
    ]
  }
}
format
json
displayName
Cottus_SpawnPhase