Ghost

Game resources

Summer CoAttackManager

game_resourceIntrinsic/flexbuffers-json/Summer_CoAttackManager

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Summer_CoAttackManager.json
data
{
  "Modifiers": {
    "TeamIdolCheckModifier": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "Target": "Caster",
          "ParamName": "AS_ArialInTeam",
          "ParamType": "Integer",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "Target": "Self",
              "EntityType": "Avatar",
              "TemplateID": 1501
            }
          ],
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "Target": "Caster",
          "ParamName": "AS_NangongInTeam",
          "ParamType": "Integer",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "Target": "Self",
              "EntityType": "Avatar",
              "TemplateID": 1511
            }
          ],
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Caster",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "Target": "Caster",
                  "ParamName": "AS_ArialInTeam",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 1,
                  "Target": "Caster",
                  "ParamName": "AS_NangongInTeam",
                  "ParamType": "Integer",
                  "CompareType": "Equal"
                }
              ]
            }
          ],
          "ModifierName": "RealCoAttackListenerModifier"
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Replace"
    },
    "TeamMateModifier_Aria": {
      "OnAdded": [
        {
          "$type": "ApplyLogicMoveAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "Target": "Self",
              "EntityType": "Avatar",
              "TemplateID": 1501
            }
          ],
          "MovementConfig": {
            "$type": "ConfigMovementTarget",
            "Gravity": 0,
            "Duration": -1,
            "MoveType": {
              "$type": "MovementTypeInstantAttach"
            },
            "TargetPosRot": {
              "Offset": {
                "AngleOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "PositionOffset": {
                  "x": 0.537,
                  "y": 0,
                  "z": 0
                },
                "BackupAngleOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupPositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "IsClampOffsetDistance": false
              },
              "CoordsOption": "ReferTarget",
              "TargetOption": {
                "$type": "ConfigPosRotReferTarget",
                "OffsetReferTarget": "Caster"
              }
            },
            "HitNormalRatio": 1,
            "ReachTargetStop": false,
            "TargetUpdateMode": "Always",
            "TimesUpMoveOption": "Remain",
            "HitTangentialRatio": 1
          },
          "RotationConfig": {
            "$type": "ConfigRotationToTargetRotation",
            "Duration": -1,
            "RotateType": "Instant",
            "TargetPosRot": {
              "Offset": {
                "AngleOffset": {
                  "x": 0,
                  "y": -17,
                  "z": 0
                },
                "PositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupAngleOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupPositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "IsClampOffsetDistance": false
              },
              "CoordsOption": "ReferTarget",
              "TargetOption": {
                "$type": "ConfigPosRotReferTarget",
                "OffsetReferTarget": "Caster"
              }
            },
            "ReachTargetStop": false,
            "TargetUpdateMode": "Always"
          }
        }
      ],
      "Duration": 1,
      "ModifierMixins": [
        {
          "$type": "FrameHaltSyncMixin",
          "SyncTargetting": "Custom",
          "CustomTargetKey": "AbilityTarget_Summer_FindSummer"
        }
      ],
      "ModifierStacking": "Replace",
      "OnSwitchTriggerInInstant": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "TeamMateModifier_Aria"
        }
      ]
    },
    "Summer_HideUI_Modifier": {
      "OnAdded": [
        {
          "$type": "SetupUIAction",
          "Priority": 1,
          "SetupTag": "Summer_CoAttack",
          "HideUITags": [
            "InLevelDamageTextContainer",
            "InLevelMonsterHudWidget"
          ],
          "Predicates": [
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Caster",
              "IsLocalAvatar": true
            }
          ],
          "IgnoreFadeAnimation": false
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "InterruptSetupUIAction",
          "SetupTag": "Summer_CoAttack",
          "IgnoreFadeAnimation": false
        }
      ],
      "ModifierStacking": "Unique",
      "OnSwitchTriggerOutInstant": [
        {
          "$type": "InterruptSetupUIAction",
          "SetupTag": "Summer_CoAttack",
          "IgnoreFadeAnimation": false
        }
      ]
    },
    "FrameHaltSyncModifier_Aria": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "FrameHaltSyncMixin",
          "SyncTargetting": "Custom",
          "CustomTargetKey": "AbilityTarget_Aria_FindAria"
        }
      ],
      "ModifierStacking": "Refresh"
    },
    "TeamMateModifier_NangongYu": {
      "OnAdded": [
        {
          "$type": "ApplyLogicMoveAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "Target": "Self",
              "EntityType": "Avatar",
              "TemplateID": 1511
            }
          ],
          "MovementConfig": {
            "$type": "ConfigMovementTarget",
            "Gravity": 0,
            "Duration": -1,
            "MoveType": {
              "$type": "MovementTypeInstantAttach"
            },
            "TargetPosRot": {
              "Offset": {
                "AngleOffset": {
                  "x": 0,
                  "y": -13,
                  "z": 0
                },
                "PositionOffset": {
                  "x": -0.2,
                  "y": 0,
                  "z": 0.86
                },
                "BackupAngleOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupPositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "IsClampOffsetDistance": false
              },
              "CoordsOption": "ReferTarget",
              "TargetOption": {
                "$type": "ConfigPosRotReferTarget",
                "OffsetReferTarget": "Caster"
              }
            },
            "HitNormalRatio": 1,
            "ReachTargetStop": false,
            "TargetUpdateMode": "Always",
            "TimesUpMoveOption": "Remain",
            "HitTangentialRatio": 1
          },
          "RotationConfig": {
            "$type": "ConfigRotationToTargetRotation",
            "Duration": -1,
            "RotateType": "Instant",
            "TargetPosRot": {
              "Offset": {
                "AngleOffset": {
                  "x": 0,
                  "y": -17,
                  "z": 0
                },
                "PositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupAngleOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "BackupPositionOffset": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "IsClampOffsetDistance": false
              },
              "CoordsOption": "ReferTarget",
              "TargetOption": {
                "$type": "ConfigPosRotReferTarget",
                "OffsetReferTarget": "Caster"
              }
            },
            "ReachTargetStop": false,
            "TargetUpdateMode": "Always"
          }
        }
      ],
      "Duration": 1,
      "ModifierMixins": [
        {
          "$type": "FrameHaltSyncMixin",
          "SyncTargetting": "Custom",
          "CustomTargetKey": "AbilityTarget_NangongYu"
        }
      ],
      "ModifierStacking": "Replace",
      "OnSwitchTriggerInInstant": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "TeamMateModifier_NangongYu"
        }
      ]
    },
    "RealCoAttackListenerModifier": {
      "OnAdded": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Caster",
          "AnimatorStateTags": [
            "Summer_CoAttackEnable"
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Caster",
          "AnimatorStateTags": [
            "Summer_CoAttackEnable"
          ]
        }
      ],
      "ModifierMixins": [
        {
          "$type": "AttachStateWithModifierMixin",
          "IsSeam": true,
          "ConfigList": [
            {
              "IsLoop": false,
              "Target": "Caster",
              "LayerIndex": 0,
              "FrameCountLow": 50,
              "MaxFrameCountLow": false,
              "ModifierNameList": [
                "Summer_CoAttack_Modifier_Aria"
              ],
              "AnimatorStateName": "Attack_ExSpecial_02",
              "MaxFrameCountHigh": true
            },
            {
              "IsLoop": false,
              "Target": "Caster",
              "LayerIndex": 0,
              "FrameCountLow": 56,
              "MaxFrameCountLow": false,
              "ModifierNameList": [
                "Summer_CoAttack_Modifier_NangongYu"
              ],
              "AnimatorStateName": "Attack_ExSpecial_02",
              "MaxFrameCountHigh": true
            },
            {
              "IsLoop": false,
              "Target": "Caster",
              "LayerIndex": 0,
              "FrameCountLow": 75,
              "FrameCountHigh": 125,
              "MaxFrameCountLow": false,
              "ModifierNameList": [
                "Summer_HideUI_Modifier"
              ],
              "AnimatorStateName": "Attack_ExSpecial_02",
              "MaxFrameCountHigh": false
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    },
    "Summer_Coattack_SelfModifier": {
      "OnAdded": [
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": true,
          "Target": "Caster",
          "AnimatorStateTags": [
            "Summer_InCoAttack_Self"
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "FrameHaltSyncModifier_Aria"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "FrameHaltSyncModifier_NangongYu"
        },
        {
          "$type": "HandleAnimatorZoneTagsAction",
          "IsAdd": false,
          "Target": "Caster",
          "AnimatorStateTags": [
            "Summer_InCoAttack_Self"
          ]
        }
      ],
      "ModifierStacking": "Refresh"
    },
    "Summer_CoAttack_Modifier_Aria": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 1,
              "ParamName": "AS_ArialInTeam",
              "ParamType": "Integer",
              "CompareType": "Equal"
            },
            {
              "$type": "ByAvatarIsOnStage",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_Aria_FindAria",
              "IsOnStage": false
            },
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_Aria_FindAria",
              "IsLocalAvatar": false
            },
            {
              "$type": "ByAliveState",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_Aria_FindAria",
              "AliveState": "Alive"
            },
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByObstacle",
                  "Target": "Self",
                  "CheckShape": "FanCollision",
                  "FanAngleMax": 20,
                  "FanAngleMin": 160,
                  "FanDistanceMax": 2.2,
                  "FanDistanceMin": 0,
                  "IsFanSymmetric": false
                }
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "CoAttackStartAction",
              "TargetPosRot": {
                "Offset": {
                  "AngleOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  },
                  "PositionOffset": {
                    "x": 0.537,
                    "y": 0,
                    "z": 0
                  },
                  "BackupAngleOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  },
                  "BackupPositionOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  },
                  "IsClampOffsetDistance": false
                },
                "CoordsOption": "ReferTarget",
                "TargetOption": {
                  "$type": "ConfigPosRotReferTarget",
                  "OffsetReferTarget": "Self"
                },
                "NeedRaycastGround": true
              },
              "SwitchInIndex": 1491,
              "TargetAvatarID": 1501
            },
            {
              "$type": "ApplyModifier",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_Aria_FindAria",
              "ModifierName": "TeamMateModifier_Aria"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "FrameHaltSyncModifier_Aria"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "Summer_Coattack_SelfModifier"
            }
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "CoAttackFinishAction",
          "SwitchOutIndex": 1,
          "TargetAvatarID": 1501
        },
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "TeamMateModifier_Aria"
        },
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "Summer_Coattack_SelfModifier"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique",
      "OnSwitchTriggerOutInstant": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "FrameHaltSyncModifier_Aria"
        }
      ]
    },
    "FrameHaltSyncModifier_NangongYu": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "FrameHaltSyncMixin",
          "SyncTargetting": "Custom",
          "CustomTargetKey": "AbilityTarget_NangongYu"
        }
      ],
      "ModifierStacking": "Refresh"
    },
    "Summer_CoAttack_Modifier_NangongYu": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 1,
              "ParamName": "AS_NangongInTeam",
              "ParamType": "Integer",
              "CompareType": "Equal"
            },
            {
              "$type": "ByAvatarIsOnStage",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_NangongYu",
              "IsOnStage": false
            },
            {
              "$type": "ByIsLocalAvatar",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_NangongYu",
              "IsLocalAvatar": false
            },
            {
              "$type": "ByAliveState",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_NangongYu",
              "AliveState": "Alive"
            },
            {
              "$type": "ByNot",
              "Predicates": [
                {
                  "$type": "ByObstacle",
                  "Target": "Self",
                  "CheckShape": "FanCollision",
                  "FanAngleMax": 340,
                  "FanAngleMin": 200,
                  "FanDistanceMax": 2.2,
                  "FanDistanceMin": 0,
                  "IsFanSymmetric": false
                }
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "CoAttackStartAction",
              "TargetPosRot": {
                "Offset": {
                  "AngleOffset": {
                    "x": 0,
                    "y": -13,
                    "z": 0
                  },
                  "PositionOffset": {
                    "x": -0.2,
                    "y": 0,
                    "z": 0.86
                  },
                  "BackupAngleOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  },
                  "BackupPositionOffset": {
                    "x": 0,
                    "y": 0,
                    "z": 0
                  },
                  "IsClampOffsetDistance": false
                },
                "CoordsOption": "ReferTarget",
                "TargetOption": {
                  "$type": "ConfigPosRotReferTarget",
                  "OffsetReferTarget": "Self"
                },
                "NeedRaycastGround": true
              },
              "SwitchInIndex": 1491,
              "TargetAvatarID": 1511
            },
            {
              "$type": "ApplyModifier",
              "Target": "Custom",
              "CustomKey": "AbilityTarget_NangongYu",
              "ModifierName": "TeamMateModifier_NangongYu"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "FrameHaltSyncModifier_NangongYu"
            },
            {
              "$type": "ApplyModifier",
              "Target": "Self",
              "ModifierName": "Summer_Coattack_SelfModifier"
            }
          ]
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "CoAttackFinishAction",
          "SwitchOutIndex": 1,
          "TargetAvatarID": 1511
        },
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "TeamMateModifier_NangongYu"
        }
      ],
      "IgnoreTimeScale": true,
      "ModifierStacking": "Unique",
      "OnSwitchTriggerOutInstant": [
        {
          "$type": "RemoveModifier",
          "Target": "Self",
          "ModifierName": "FrameHaltSyncModifier_NangongYu"
        }
      ]
    }
  },
  "AbilityName": "Summer_CoAttackManager",
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Avatar"
      ],
      "Relationships": [
        "Allied"
      ],
      "OnEntityAwaked": [
        {
          "$type": "RemoveModifier",
          "Target": "TeamAvatars",
          "ModifierName": "TeamIdolCheckModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "ModifierName": "TeamIdolCheckModifier"
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_ArialInTeam": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_NangongInTeam": {
      "Value": 0,
      "ValueType": "Integer"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "TeamIdolCheckModifier"
      }
    ],
    "OnHitOtherPre": [
      {
        "$type": "DamageByAttackPropertyAction",
        "Target": "Other",
        "Predicates": [
          {
            "$type": "ByAnimEventIDs",
            "AnimEventIDs": [
              "Summer_Attack_ExSpecial_02_AttackProperty_Cat_05"
            ]
          },
          {
            "Tags": [
              "Summer_CoAttackEnable"
            ],
            "$type": "ByIsInZoneTags",
            "Target": "Caster"
          }
        ],
        "AnimEventID": "Summer_Attack_ExSpecial_02_Co_AttackProperty_01"
      }
    ]
  }
}
format
json
displayName
Summer_CoAttackManager