Ghost

Game resources

ActivityBattleAbility SwitchTeamBattleActivity Buff S2 2

game_resourceIntrinsic/flexbuffers-json/ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2.json
data
{
  "Modifiers": {
    "MDF_Lv0_Penalty": {
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "MDF_ShowTip_Lv1": {
      "OnAdded": [
        {
          "Show": true,
          "$type": "ShowMiddleTipAction",
          "TipID": 200086
        }
      ],
      "Duration": 10,
      "OnRemoved": [
        {
          "Show": false,
          "$type": "ShowMiddleTipAction",
          "TipID": 200086
        }
      ],
      "ModifierStacking": "Replace"
    },
    "MDF_ShowTip_Lv2": {
      "OnAdded": [
        {
          "Show": true,
          "$type": "ShowMiddleTipAction",
          "TipID": 200087
        }
      ],
      "Duration": 10,
      "OnRemoved": [
        {
          "Show": false,
          "$type": "ShowMiddleTipAction",
          "TipID": 200087
        }
      ],
      "ModifierStacking": "Replace"
    },
    "MDF_ShowTip_Lv3": {
      "OnAdded": [
        {
          "Show": true,
          "$type": "ShowMiddleTipAction",
          "TipID": 200088
        }
      ],
      "Duration": 10,
      "OnRemoved": [
        {
          "Show": false,
          "$type": "ShowMiddleTipAction",
          "TipID": 200088
        }
      ],
      "ModifierStacking": "Replace"
    },
    "MDF_ShowTip_Lv4": {
      "OnAdded": [
        {
          "Show": true,
          "$type": "ShowMiddleTipAction",
          "TipID": 200089
        }
      ],
      "Duration": 10,
      "OnRemoved": [
        {
          "Show": false,
          "$type": "ShowMiddleTipAction",
          "TipID": 200089
        }
      ],
      "ModifierStacking": "Replace"
    },
    "ListenNormaInTeam": {
      "Duration": -1,
      "OnBattleEnter": [
        {
          "$type": "LDListenEntityAction",
          "TargetKey": "PlayerGotNorma",
          "Predicates": [
            {
              "$type": "ByAvatarIDInTeam",
              "AvatarID": 1571
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    },
    "MaxBuffLevelModifier": {
      "Duration": -1,
      "Properties": {
        "Actor_StunDamageTakeRatio": "%AS_StunDamageTakeRatio"
      },
      "ModifierStacking": "MultipleAllRefreshNotReplace",
      "MaxStackingNumber": 99
    },
    "IgnoreDamageResistModifier": {
      "Duration": -1,
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Target": "Target",
          "PropertyKey": "Actor_AllDamageResist",
          "PropertyValue": "%AS_AllDamageResist"
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2",
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Monster"
      ],
      "Relationships": [
        "Neutral"
      ],
      "OnEntityAwaked": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 3,
              "ParamName": "AS_BuffLevel",
              "ParamType": "Float",
              "CompareType": "GreaterEqual"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetTargetAbilitySpecialAction",
              "Params": [
                {
                  "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_MonsterSettle",
                  "AbilitySpecials": [
                    {
                      "Param": "%AS_SettleDmg_Normal_Lv3",
                      "ParamName": "AS_SettleDmg_Normal",
                      "ParamType": "Float",
                      "ModifyFunction": "Replace"
                    },
                    {
                      "Param": "%AS_SettleDmg_Elite_Lv3",
                      "ParamName": "AS_SettleDmg_Elite",
                      "ParamType": "Float",
                      "ModifyFunction": "Replace"
                    },
                    {
                      "Param": "%AS_SettleDmg_Boss_Lv3",
                      "ParamName": "AS_SettleDmg_Boss",
                      "ParamType": "Float",
                      "ModifyFunction": "Replace"
                    }
                  ]
                }
              ],
              "Target": "EnemyAlliedNoNeedEnterBattle"
            }
          ]
        }
      ]
    }
  ],
  "AbilitySpecials": {
    "AS_BuffLevel": {
      "Value": 0
    },
    "AS_SettleDmg_Boss": {
      "Value": 0.2
    },
    "AS_AllDamageResist": {
      "Value": -0.2
    },
    "AS_SettleDmg_Elite": {
      "Value": 0.4
    },
    "AS_SettleDmg_Normal": {
      "Value": 1
    },
    "AS_SettleDmg_Boss_Lv3": {
      "Value": 0.4
    },
    "AS_SettleDmg_Elite_Lv3": {
      "Value": 0.8
    },
    "AS_StunDamageTakeRatio": {
      "Value": 0
    },
    "AS_SettleDmg_Normal_Lv3": {
      "Value": 1
    },
    "AS_MaxBuffLevelModifierStack": {
      "Value": -1,
      "ValueType": "Integer"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "ListenNormaInTeam"
      },
      {
        "$type": "ApplyAbilityAction",
        "Target": "TeamAvatars",
        "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Bullet",
        "IsAutoTrigger": false
      },
      {
        "$type": "ApplyAbilityAction",
        "Target": "EnemyAllied",
        "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_MonsterSettle",
        "IsAutoTrigger": true
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 3,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "GreaterEqual"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetTargetAbilitySpecialAction",
            "Params": [
              {
                "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_MonsterSettle",
                "AbilitySpecials": [
                  {
                    "Param": "%AS_SettleDmg_Normal_Lv3",
                    "ParamName": "AS_SettleDmg_Normal",
                    "ParamType": "Float",
                    "ModifyFunction": "Replace"
                  },
                  {
                    "Param": "%AS_SettleDmg_Elite_Lv3",
                    "ParamName": "AS_SettleDmg_Elite",
                    "ParamType": "Float",
                    "ModifyFunction": "Replace"
                  },
                  {
                    "Param": "%AS_SettleDmg_Boss_Lv3",
                    "ParamName": "AS_SettleDmg_Boss",
                    "ParamType": "Float",
                    "ModifyFunction": "Replace"
                  }
                ]
              }
            ],
            "Target": "EnemyAllied"
          }
        ]
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "IgnoreDamageResistModifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "TeamAvatars",
        "ModifierName": "MDF_Lv0_Penalty"
      },
      {
        "$type": "LDListenEntityAction",
        "TargetKey": "PlayerGotNorma",
        "Predicates": [
          {
            "$type": "ByAvatarIDInTeam",
            "AvatarID": 1571
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 1,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "GreaterEqual"
          }
        ],
        "SuccessActions": [
          {
            "$type": "TriggerAbilityAction",
            "Target": "Level",
            "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv1"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 2,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "GreaterEqual"
          }
        ],
        "SuccessActions": [
          {
            "$type": "TriggerAbilityAction",
            "Target": "Level",
            "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv2"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 3,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "GreaterEqual"
          },
          {
            "$type": "ByAbilitySpecial",
            "Param": 4,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "Less"
          }
        ],
        "SuccessActions": [
          {
            "$type": "TriggerAbilityAction",
            "Target": "Level",
            "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv3"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 4,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "GreaterEqual"
          }
        ],
        "SuccessActions": [
          {
            "$type": "TriggerAbilityAction",
            "Target": "Level",
            "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv3"
          },
          {
            "$type": "TriggerAbilityAction",
            "Target": "Level",
            "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv4"
          },
          {
            "$type": "SetAbilitySpecialAction",
            "Param": 1,
            "DoRefresh": true,
            "ParamName": "AS_MaxBuffLevelModifierStack",
            "ParamType": "Integer",
            "ModifyFunction": "Add"
          },
          {
            "$type": "ApplyModifier",
            "Target": "TeamAvatars",
            "StackCount": "%AS_MaxBuffLevelModifierStack",
            "ModifierName": "MaxBuffLevelModifier"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 1,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "Equal"
          }
        ],
        "SuccessActions": [
          {
            "$type": "ApplyModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv1"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 2,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "Equal"
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv1"
          },
          {
            "$type": "ApplyModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv2"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 3,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "Equal"
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv2"
          },
          {
            "$type": "ApplyModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv3"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByAbilitySpecial",
            "Param": 4,
            "ParamName": "AS_BuffLevel",
            "ParamType": "Float",
            "CompareType": "Equal"
          }
        ],
        "SuccessActions": [
          {
            "$type": "RemoveModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv3"
          },
          {
            "$type": "ApplyModifier",
            "Target": "Level",
            "ModifierName": "MDF_ShowTip_Lv4"
          }
        ]
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "ApplyModifier",
      "Target": "TeamAvatars",
      "ModifierName": "IgnoreDamageResistModifier"
    },
    {
      "$type": "ApplyAbilityAction",
      "Target": "TeamAvatars",
      "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Bullet",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "Target": "EnemyAllied",
      "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_MonsterSettle",
      "IsAutoTrigger": true
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 3,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "GreaterEqual"
        }
      ],
      "SuccessActions": [
        {
          "$type": "SetTargetAbilitySpecialAction",
          "Params": [
            {
              "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_MonsterSettle",
              "AbilitySpecials": [
                {
                  "Param": "%AS_SettleDmg_Normal_Lv3",
                  "ParamName": "AS_SettleDmg_Normal",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                },
                {
                  "Param": "%AS_SettleDmg_Elite_Lv3",
                  "ParamName": "AS_SettleDmg_Elite",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                },
                {
                  "Param": "%AS_SettleDmg_Boss_Lv3",
                  "ParamName": "AS_SettleDmg_Boss",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                }
              ]
            }
          ],
          "Target": "EnemyAllied"
        }
      ]
    },
    {
      "$type": "ApplyModifier",
      "Target": "TeamAvatars",
      "ModifierName": "MDF_Lv0_Penalty"
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 1,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "GreaterEqual"
        }
      ],
      "SuccessActions": [
        {
          "$type": "TriggerAbilityAction",
          "Target": "Level",
          "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv1"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 2,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "GreaterEqual"
        }
      ],
      "SuccessActions": [
        {
          "$type": "TriggerAbilityAction",
          "Target": "Level",
          "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv2"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 3,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "GreaterEqual"
        },
        {
          "$type": "ByAbilitySpecial",
          "Param": 4,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "Less"
        }
      ],
      "SuccessActions": [
        {
          "$type": "TriggerAbilityAction",
          "Target": "Level",
          "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv3"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 4,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "GreaterEqual"
        }
      ],
      "SuccessActions": [
        {
          "$type": "TriggerAbilityAction",
          "Target": "Level",
          "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv3"
        },
        {
          "$type": "TriggerAbilityAction",
          "Target": "Level",
          "AbilityName": "ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2_Lv4"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "DoRefresh": true,
          "ParamName": "AS_MaxBuffLevelModifierStack",
          "ParamType": "Integer",
          "ModifyFunction": "Add"
        },
        {
          "$type": "ApplyModifier",
          "Target": "TeamAvatars",
          "StackCount": "%AS_MaxBuffLevelModifierStack",
          "ModifierName": "MaxBuffLevelModifier"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 1,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "Equal"
        }
      ],
      "SuccessActions": [
        {
          "$type": "ApplyModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv1"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 2,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "Equal"
        }
      ],
      "SuccessActions": [
        {
          "$type": "RemoveModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv1"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv2"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 3,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "Equal"
        }
      ],
      "SuccessActions": [
        {
          "$type": "RemoveModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv2"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv3"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 4,
          "ParamName": "AS_BuffLevel",
          "ParamType": "Float",
          "CompareType": "Equal"
        }
      ],
      "SuccessActions": [
        {
          "$type": "RemoveModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv3"
        },
        {
          "$type": "ApplyModifier",
          "Target": "Level",
          "ModifierName": "MDF_ShowTip_Lv4"
        }
      ]
    }
  ]
}
format
json
displayName
ActivityBattleAbility_SwitchTeamBattleActivity_Buff_S2_2