Ghost

Game resources

ActivityBattleAbility VR 032 Buff Counter

game_resourceIntrinsic/flexbuffers-json/ActivityBattleAbility_VR_032_Buff_Counter

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/ActivityBattleAbility_VR_032_Buff_Counter.json
data
{
  "Modifiers": {
    "TeamBuff": {
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByAnimTagList",
                  "TagList": [
                    "AttackNormal",
                    "Normal"
                  ]
                },
                {
                  "$type": "ByAnimTagList",
                  "TagList": [
                    "AttackNormal",
                    "Counter"
                  ]
                }
              ]
            }
          ],
          "PropertyKey": "Actor_AddedElementAccumulationRatio",
          "PropertyValue": "%AS_TeamAnomalyBuildUp_Final"
        }
      ],
      "Properties": {
        "Actor_ElementMysteryDelta": "%AS_TeamAnomalyMastery_Final"
      },
      "ModifierStacking": "Replace"
    },
    "EffectModifier": {
      "OnAdded": [
        {
          "$type": "FireEffect",
          "Target": "Self",
          "EffectPattern": "Eff_MusicBattle_Activity_Perfect_01_UI",
          "FireEffectPosRot": {
            "Offset": {
              "AngleOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationY": true,
              "PositionOffset": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "IsUseRotationXZ": true,
              "RandomAngleRange": {
                "x": 0,
                "y": 0,
                "z": 0
              },
              "RandomPositionRange": {
                "x": 0,
                "y": 0,
                "z": 0
              }
            },
            "CoordsOption": "ReferTarget",
            "TargetOption": {
              "$type": "ConfigPosRotReferTarget",
              "OffsetReferTarget": "Camera"
            },
            "NeedRaycastGround": false
          }
        }
      ],
      "Duration": 0.1,
      "ModifierStacking": "Replace"
    },
    "DashToCounterCD": {
      "Duration": "%AS_DashToCounterCD",
      "ModifierStacking": "Unique"
    },
    "UpgradeCooldown": {
      "Duration": "%AS_UpgradeCooldown",
      "ModifierStacking": "Multiple",
      "MaxStackingNumber": "%AS_UpgradeCooldownMaxCount"
    },
    "CounterFirstHitFlag": {
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAnimTagList",
              "TagList": [
                "AttackNormal",
                "Counter"
              ]
            }
          ],
          "SuccessActions": [
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "CounterFirstHitFlag"
            },
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByModifierStackCount",
                  "Target": "TeamEntity",
                  "StackCount": "%AS_UpgradeCooldownMaxCount",
                  "CompareType": "Less",
                  "ModifierName": "UpgradeCooldown",
                  "CountModifierType": "SameNameAbility"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "SetAbilitySpecialAction",
                  "Param": 1,
                  "Target": "Self",
                  "ParamName": "AS_TriggerCount",
                  "ParamType": "Integer",
                  "ModifyFunction": "Add"
                },
                {
                  "$type": "TriggerLevelCustomConditions",
                  "LevelConditionsID": 1282000460
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "ParamName": "AS_TeamAnomalyBuildUp_Temp",
                  "ValueType": "Integer",
                  "Expression": "specials(AS_TriggerCount)*specials(AS_PerTriggerAnomalyBuildUp)*1000+0.5"
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_TeamAnomalyBuildUp_Final",
                  "ValueType": "Float",
                  "Expression": "specials(AS_TeamAnomalyBuildUp_Temp)/1000"
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "ParamName": "AS_TeamAnomalyMastery_Temp",
                  "ValueType": "Integer",
                  "Expression": "specials(AS_TriggerCount)*specials(AS_PerTriggerAnomalyMastery)*1000+0.5"
                },
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_TeamAnomalyMastery_Final",
                  "ValueType": "Float",
                  "Expression": "specials(AS_TeamAnomalyMastery_Temp)/1000"
                },
                {
                  "$type": "SetTargetAbilitySpecialAction",
                  "Params": [
                    {
                      "AbilityName": "ActivityBattleAbility_VR_032_Buff_Counter",
                      "AbilitySpecials": [
                        {
                          "Param": "%AS_TriggerCount",
                          "ParamName": "AS_TriggerCount",
                          "ParamType": "Integer",
                          "ModifyFunction": "Replace"
                        },
                        {
                          "Param": "%AS_TeamAnomalyBuildUp_Final",
                          "ParamName": "AS_TeamAnomalyBuildUp_Final",
                          "ParamType": "Float",
                          "ModifyFunction": "Replace"
                        },
                        {
                          "Param": "%AS_TeamAnomalyMastery_Final",
                          "ParamName": "AS_TeamAnomalyMastery_Final",
                          "ParamType": "Float",
                          "ModifyFunction": "Replace"
                        }
                      ]
                    }
                  ],
                  "Target": "TeamAvatars",
                  "DoRefresh": true
                },
                {
                  "$type": "RemoveModifier",
                  "Target": "TeamAvatars",
                  "ModifierName": "TeamBuff",
                  "ModifierTargetType": "SameNameAbility"
                },
                {
                  "$type": "ApplyModifier",
                  "Target": "TeamAvatars",
                  "ModifierName": "TeamBuff"
                },
                {
                  "$type": "ApplyModifier",
                  "Target": "TeamEntity",
                  "ModifierName": "UpgradeCooldown"
                },
                {
                  "$type": "LDListenEntityAction",
                  "TargetKey": "ListenEvent_BuffTips"
                },
                {
                  "$type": "ApplyModifier",
                  "Target": "Self",
                  "ModifierName": "EffectModifier"
                }
              ]
            },
            {
              "$type": "ModifyGenericScoreAction",
              "Amount": "%AS_StylishFinalScore_AddAmount",
              "Target": "TeamEntity",
              "ScoreTag": "VR_BuffScore",
              "ScoreName": "StylishFinalScore",
              "ModifyFunction": "Add"
            },
            {
              "$type": "ModifyGenericScoreAction",
              "Amount": 1,
              "Target": "TeamEntity",
              "ScoreTag": "VR032_BuffCount",
              "ScoreName": "BattleTargetCount",
              "ModifyFunction": "Add"
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    },
    "RushAttackToCounterAttack": {
      "Duration": 1,
      "OnSkillStart": [
        {
          "$type": "ApplyModifier",
          "Target": "Self",
          "Predicates": [
            {
              "$type": "ByFromSkillType",
              "Target": "LocalAvatar",
              "SkillType": "Counter"
            }
          ],
          "ModifierName": "DashToCounterCD"
        }
      ],
      "DelayHandlers": [
        {
          "DelayTime": 0.01,
          "TimeUpActions": [
            {
              "$type": "SetAnimCtrlerParamAction",
              "Target": "Self",
              "BoolVal": true,
              "ParamName": "Trigger_PerfectEvade",
              "ParamType": 1,
              "Predicates": [
                {
                  "$type": "ByHasModifier",
                  "Target": "Caster",
                  "OperatorType": "Not",
                  "ModifierCaster": "Caster",
                  "ModifierNameList": [
                    "DashToCounterCD"
                  ]
                }
              ]
            }
          ]
        }
      ],
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "ActivityBattleAbility_VR_032_Buff_Counter",
  "AbilitySpecials": {
    "AS_TriggerCount": {
      "Value": 0
    },
    "AS_DashToCounterCD": {
      "Value": 0.1
    },
    "AS_UpgradeCooldown": {
      "Value": 10
    },
    "AS_SRankScoreThreshold": {
      "Value": 9000
    },
    "AS_MonsterUpgradeThreshold": {
      "Value": 3000
    },
    "AS_TeamAnomalyBuildUp_Temp": {
      "Value": 0
    },
    "AS_TeamAnomalyMastery_Temp": {
      "Value": 0
    },
    "AS_UpgradeCooldownMaxCount": {
      "Value": 4
    },
    "AS_PerTriggerAnomalyBuildUp": {
      "Value": 0.5
    },
    "AS_PerTriggerAnomalyMastery": {
      "Value": 0.5
    },
    "AS_TeamAnomalyBuildUp_Final": {
      "Value": 0
    },
    "AS_TeamAnomalyMastery_Final": {
      "Value": 0
    },
    "AS_StylishFinalScore_AddAmount": {
      "Value": 100
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "SetTargetAbilitySpecialAction",
        "Params": [
          {
            "AbilityName": "ActivityBattleAbility_VR_032_StylishMode_CountReceiver",
            "AbilitySpecials": [
              {
                "Param": "%AS_MonsterUpgradeThreshold",
                "ParamName": "AS_MonsterUpgradeThreshold",
                "ParamType": "Float",
                "ModifyFunction": "Replace"
              },
              {
                "Param": "%AS_SRankScoreThreshold",
                "ParamName": "AS_SRankScoreThreshold",
                "ParamType": "Float",
                "ModifyFunction": "Replace"
              }
            ]
          }
        ],
        "Target": "TeamEntity",
        "DoRefresh": true
      }
    ],
    "OnSkillStart": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByFromSkillType",
            "SkillType": "Evade"
          }
        ],
        "ModifierName": "RushAttackToCounterAttack"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByFromSkillType",
            "SkillType": "Counter"
          },
          {
            "$type": "ByIsLocalAvatar",
            "Target": "Self",
            "IsLocalAvatar": true
          }
        ],
        "ModifierName": "CounterFirstHitFlag"
      }
    ]
  }
}
format
json
displayName
ActivityBattleAbility_VR_032_Buff_Counter