Pepper Bomb
Lvl: 10 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 200 Range: 5 Cast Time: 5

Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x300% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.

Lvl: 9 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 190 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x270% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 8 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 180 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x240% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 7 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 170 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x210% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 6 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 160 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x180% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 5 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 150 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x150% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 4 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 140 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x120% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 3 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 130 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x90% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 2 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 120 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x60% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.
Lvl: 1 Buff CD: 8 sec Skill Delay: 1.5 sec SP: 110 Range: 5 Cast Time: 5
• Meow casts a Pepper Bomb to an enemy for 5 seconds. Every time the target carrying the bomb is attacked by Meow, a mark will be stacked. If the marks reach 10 layers or the time is over, the bomb will be detonated, causing Neutral True DMG (M.Atk x30% xNo. of layers) to all enemies within 3 meters. Pepper Bomb cannot be dispelled.

Enemy 6350

function CommonFun.calcBuff_6350(srcUser, targetUser, a, b, c, d, lv, damage)
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local MRefine = srcUser:GetProperty("MRefine")
  local NpcParam = CommonFun.NpcParam(srcUser, targetUser, params, damageParam, logger)
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * NpcParam
  local skilllv = srcUser:GetLernedSkillLevel(4110_PROFESSOR:PEPPER_BOMB)
  local Num = damage
  local srcAtkElement = 5
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local ElementRate = CommonFun.GetElementRate(srcUser, srcAtkElement, targetUser, targetDefElement)
  if (srcUser:HasBuffID(69650_8608_:MAX_STACK_0) or srcUser:HasBuffID(71090_10658_:MAX_STACK_0)) and 1 < ElementRate then
    ElementRate = ElementRate * 1.1
  end
  if targetUser:HasBuffID(49130_DIVINE_HYMN_CARVER_:MAX_STACK_0) then
    ElementRate = math.min(ElementRate, 1)
  end
  if srcUser:HasBuffID(49210_7892_:MAX_STACK_0) then
    ElementRate = ElementRate + 0.15
  end
  if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
    return 0
  end
  local NeutralAtk = srcUser:GetProperty("NeutralAtk")
  local ele = ElementRate * (1 + NeutralAtk)
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
  local ResultDamInc = srcUser:GetProperty("ResultDamInc")
  local ResultDamRes = targetUser:GetProperty("ResultDamRes")
  local Result = 1 + ResultDamInc - ResultDamRes
  Result = math.max(Result, 0.1)
  local A = -(MAtkFinal * (1 + MDamSpike) + MRefine) * (skilllv * 0.3 * Num) * (1 - RefineMDamReduc) * (1 + MDamIncrease) * Result * ele
  if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
    A = -1
  end
  if targetUser:DamageAlways1() then
    A = -1
  end
  return A
end

Enemy

{
  "id": 131620,
  "BuffName": "Pepper Bomb",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "BeAttack",
    "all_skill": 1,
    "from_source": 1
  },
  "BuffEffect": {
    "id": [
      131621
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 131621,
  "BuffDesc": "Watch Out for Bombs",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Pepper Bomb (Layers)",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 2,
  "BuffEffect": {
    "type": "AccumLayer",
    "LayerState": [
      131621,
      131622,
      131623
    ],
    "end_del_buff": [
      131620
    ],
    "trigger_buff": [
      131622
    ],
    "trigger_layer": {
      "a": 4125,
      "b": 1,
      "c": 11,
      "type": 8
    }
  }
}

Enemy

{
  "id": 131622,
  "BuffName": "Pepper Bomb (increases DMG to surrounding people)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      131623
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 131623,
  "BuffName": "Pepper Bomb (DMG)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 6350
    },
    "type": "HSPChange"
  },
  "BuffStateID": 131620
}

Enemy

{
  "id": 131624,
  "BuffName": "Chili Bomb (Rune)",
  "BuffRate": {
    "Odds": {
      "a": 153152,
      "type": 5000
    }
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 131621,
        "layer": {
          "a": 0,
          "b": 0,
          "c": 153152,
          "type": 5010
        }
      }
    ]
  }
}

Formula

{
  "CD": 8,
  "id": 4110010,
  "Buff": {
    "enemy": [
      131620,
      131621,
      131624
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 4110000,
      "params": [
        300
      ]
    }
  ],
  "Icon": "skill_4110001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "DescId": "##171493",
  "NameZh": "##159232",
  "CastAct": "skill_ready",
  "DelayCD": 1.5,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1580
    }
  ],
  "Pvp_buff": {
    "enemy": [
      131620,
      131621,
      131624
    ]
  },
  "AttackAct": [
    "use_skill3"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 5,
    "type": 2
  },
  "SE_attack": "Skill/Whisperer_lajiaozhadan",
  "SkillCost": {
    "sp": 200
  },
  "SkillType": "Buff",
  "Target_EP": 2,
  "DamageType": 4,
  "Launch_Range": 5,
  "ExtraMaxLevel": 0
}