Ghost

Game resources

Activity SmashBro Buff LastBattle

game_resourceIntrinsic/flexbuffers-json/Activity_SmashBro_Buff_LastBattle

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Activity_SmashBro_Buff_LastBattle.json
data
{
  "Modifiers": {
    "SoloBuffTimer": {
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "RemoveModifier",
          "ModifierName": "SoloBuffModifier"
        },
        {
          "$type": "ApplyModifier",
          "Target": "EnemyAllied",
          "ModifierName": "CountChangeModifier"
        }
      ],
      "ThinkInterval": 4,
      "OnThinkInterval": [
        {
          "$type": "ApplyModifier",
          "ModifierName": "SoloBuffModifier"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "ParamName": "AS_BuffCount",
          "Expression": "specials(AS_BuffCount)+1",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 10,
              "ParamName": "AS_BuffCount",
              "ParamType": "Integer",
              "CompareType": "Less"
            }
          ]
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "ParamName": "AS_BuffCountTemp",
          "Expression": "specials(AS_BuffCountTemp)+1",
          "Predicates": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 10,
              "ParamName": "AS_BuffCountTemp",
              "ParamType": "Integer",
              "CompareType": "Less"
            }
          ]
        },
        {
          "$type": "ApplyModifier",
          "Target": "EnemyAllied",
          "ModifierName": "CountChangeModifier"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "DamagedModifier": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 2,
          "ParamName": "AS_BuffCountTemp",
          "ParamType": "Integer",
          "ModifyFunction": "Mod"
        },
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 0,
              "ParamName": "AS_BuffCountTemp",
              "ParamType": "Integer",
              "CompareType": "Equal"
            }
          ],
          "FailureActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "ParamName": "AS_BuffCount",
              "ValueType": "Integer",
              "Expression": "(specials(AS_BuffCount)/2)+1"
            },
            {
              "$type": "RemoveModifier",
              "StackCount": "%AS_BuffCount",
              "ModifierName": "SoloBuffModifier"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "ParamName": "AS_BuffCount",
              "Expression": "specials(AS_BuffCount)-1"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "ParamName": "AS_BuffCountTemp",
              "ValueType": "Integer",
              "Expression": "specials(AS_BuffCount)"
            },
            {
              "$type": "ApplyModifier",
              "Target": "EnemyAllied",
              "ModifierName": "CountChangeModifier"
            }
          ],
          "SuccessActions": [
            {
              "$type": "SetAbilitySpecialByExpression",
              "ParamName": "AS_BuffCount",
              "ValueType": "Integer",
              "Expression": "specials(AS_BuffCount)/2"
            },
            {
              "$type": "RemoveModifier",
              "StackCount": "%AS_BuffCount",
              "ModifierName": "SoloBuffModifier"
            },
            {
              "$type": "SetAbilitySpecialByExpression",
              "ParamName": "AS_BuffCountTemp",
              "ValueType": "Integer",
              "Expression": "specials(AS_BuffCount)"
            },
            {
              "$type": "ApplyModifier",
              "Target": "EnemyAllied",
              "ModifierName": "CountChangeModifier"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique"
    },
    "EffModifier_Low": {
      "OnAdded": [
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_06",
          "key": "Common_MA_Buff_VR_RimGlow_06",
          "$type": "ModifyMaterialPropertyAction"
        },
        {
          "$type": "ProcessScreenEffectAction",
          "EffectKey": "Monster_Common_VRBuff_01_Vignette",
          "EffectType": "Vignette"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "EffModifier_Max": {
      "OnAdded": [
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Middle"
        },
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Low"
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_07",
          "key": "Common_MA_Buff_VR_RimGlow_07",
          "$type": "ModifyMaterialPropertyAction",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "GreaterEqual",
              "CharacterSize": "Large"
            }
          ]
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_08",
          "key": "Common_MA_Buff_VR_RimGlow_08",
          "$type": "ModifyMaterialPropertyAction",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "GreaterEqual",
              "CharacterSize": "Large"
            }
          ]
        },
        {
          "$type": "ProcessScreenEffectAction",
          "EffectKey": "Monster_Common_VRBuff_01_Vignette",
          "EffectType": "Vignette"
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_01",
          "key": "Common_MA_Buff_VR_RimGlow_01",
          "$type": "ModifyMaterialPropertyAction",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "Less",
              "CharacterSize": "Large"
            }
          ]
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_02",
          "key": "Common_MA_Buff_VR_RimGlow_02",
          "$type": "ModifyMaterialPropertyAction",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "Less",
              "CharacterSize": "Large"
            }
          ]
        },
        {
          "$type": "ProcessScreenEffectAction",
          "EffectKey": "Monster_Common_VRBuff_01_Vignette",
          "EffectType": "Vignette"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "GreaterEqual",
              "CharacterSize": "Large"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_01_01_Start",
          "AttachPointName": "MiddlePoint"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "Equal",
              "CharacterSize": "Middle"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_01_02_Start",
          "AttachPointName": "MiddlePoint"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "LessEqual",
              "CharacterSize": "Small"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_01_03_Start",
          "AttachPointName": "MiddlePoint"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "SoloBuffModifier": {
      "Buff": {
        "BuffID": 9000603,
        "IsOverrideDuration": true
      },
      "Duration": -1,
      "ModifierStacking": "MultipleAllRefresh",
      "MaxStackingNumber": 10
    },
    "EffModifier_Middle": {
      "OnAdded": [
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Low"
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_03",
          "key": "Common_MA_Buff_VR_RimGlow_03",
          "$type": "ModifyMaterialPropertyAction"
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_04",
          "key": "Common_MA_Buff_VR_RimGlow_04",
          "$type": "ModifyMaterialPropertyAction"
        },
        {
          "$type": "ProcessScreenEffectAction",
          "EffectKey": "Monster_Common_VRBuff_01_Vignette",
          "EffectType": "Vignette"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "GreaterEqual",
              "CharacterSize": "Large"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_02_01_Start",
          "AttachPointName": "MiddlePoint"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "Equal",
              "CharacterSize": "Middle"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_02_02_Start",
          "AttachPointName": "MiddlePoint"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CompareType": "LessEqual",
              "CharacterSize": "Small"
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_02_03_Start",
          "AttachPointName": "MiddlePoint"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "EffModifier_Remove": {
      "OnAdded": [
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Max"
        },
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Middle"
        },
        {
          "$type": "RemoveModifier",
          "ModifierName": "EffModifier_Low"
        },
        {
          "Tag": "Common_MA_Buff_VR_RimGlow_05",
          "key": "Common_MA_Buff_VR_RimGlow_05",
          "$type": "ModifyMaterialPropertyAction"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "$type": "ByIsLocalAvatar",
              "IsLocalAvatar": true
            }
          ],
          "EffectPattern": "Eff_Common_ActivityBattle_VR_03_01_Start",
          "AttachPointName": "MiddlePoint"
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique"
    },
    "CountChangeModifier": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "DoRefresh": true,
          "ParamName": "AS_DamageCountTemp",
          "Expression": "1+(specials(AS_BuffCount)*specials(AS_SmashBro_AddedDamageRatio))"
        },
        {
          "$type": "SetTargetAbilitySpecialAction",
          "Params": [
            {
              "AbilityName": "Activity_SmashBro_Monster",
              "AbilitySpecials": [
                {
                  "Param": "%AS_DamageCountTemp",
                  "ParamName": "AS_Damage_Talent_Ratio",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                }
              ]
            }
          ],
          "Target": "Self"
        },
        {
          "$type": "SetTargetAbilitySpecialAction",
          "Params": [
            {
              "AbilityName": "Airborne_Explode",
              "AbilitySpecials": [
                {
                  "Param": "%AS_DamageCountTemp",
                  "ParamName": "AS_Damage_Max_Ratio",
                  "ParamType": "Float",
                  "ModifyFunction": "Replace"
                }
              ]
            }
          ],
          "Target": "Self"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "Activity_SmashBro_Buff_LastBattle",
  "AbilitySpecials": {
    "AS_BuffCount": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_BuffCountTemp": {
      "Value": 0,
      "ValueType": "Integer"
    },
    "AS_DamageCountTemp": {
      "Value": 0
    },
    "AS_AddedDamageRatio": {
      "Value": 0.2
    },
    "AS_GasCanDamageCountTemp": {
      "Value": 0
    },
    "AS_SmashBro_AddedDamageRatio": {
      "Value": 0.05
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "SoloBuffTimer"
      }
    ],
    "OnBuffAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              "9000603"
            ]
          },
          {
            "$type": "ByIsLocalAvatar",
            "IsLocalAvatar": true
          },
          {
            "$type": "ByBuffCount",
            "BuffID": 9000603,
            "StackCount": 10,
            "CompareType": "GreaterEqual"
          }
        ],
        "ModifierName": "EffModifier_Max"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              "9000603"
            ]
          },
          {
            "$type": "ByIsLocalAvatar",
            "IsLocalAvatar": true
          },
          {
            "$type": "ByBuffCount",
            "BuffID": 9000603,
            "StackCount": 5,
            "CompareType": "GreaterEqual"
          },
          {
            "$type": "ByBuffCount",
            "BuffID": 9000603,
            "StackCount": 10,
            "CompareType": "Less"
          }
        ],
        "ModifierName": "EffModifier_Middle"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              "9000603"
            ]
          },
          {
            "$type": "ByIsLocalAvatar",
            "IsLocalAvatar": true
          },
          {
            "$type": "ByBuffCount",
            "BuffID": 9000603,
            "StackCount": 5,
            "CompareType": "Less"
          }
        ],
        "ModifierName": "EffModifier_Low"
      },
      {
        "$type": "LDListenEntityAction",
        "TargetKey": "ActivityBattleAbility_Condition_BuffAdd",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              "9000603"
            ]
          },
          {
            "$type": "ByIsLocalAvatar",
            "IsLocalAvatar": true
          }
        ]
      }
    ],
    "OnBuffRemoved": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByHandlingBuffID",
            "BuffIDList": [
              "9000603"
            ]
          },
          {
            "$type": "ByIsLocalAvatar",
            "IsLocalAvatar": true
          },
          {
            "$type": "ByBuffCount",
            "BuffID": 9000603,
            "StackCount": 0,
            "CompareType": "LessEqual"
          }
        ],
        "ModifierName": "EffModifier_Remove"
      }
    ],
    "OnBeAttackLanded": [
      {
        "$type": "ApplyModifier",
        "Predicates": [
          {
            "$type": "ByTotalDamage",
            "Damage": 0,
            "Target": "Other",
            "SkipDamage": true,
            "CompareType": "Greater"
          }
        ],
        "ModifierName": "DamagedModifier"
      }
    ]
  }
}
format
json
displayName
Activity_SmashBro_Buff_LastBattle