Raging Storm
Lvl: 20 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 64 Range: 5 Cast Time: 4

Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 150% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.

Lvl: 19 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 62 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 145% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 18 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 60 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 140% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 17 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 58 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 135% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 16 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 56 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 130% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 15 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 54 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 125% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 14 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 52 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 120% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 13 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 50 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 115% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 12 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 48 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 110% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 11 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 46 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 105% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 10 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 44 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 100% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 9 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 42 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 95% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 8 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 40 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 90% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 7 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 38 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 85% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 6 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 36 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 80% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 5 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 34 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 75% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 4 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 32 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 70% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 3 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 30 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 65% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 2 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 28 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 60% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.
Lvl: 1 Attack Physical CD: 3 sec Skill Delay: 3 sec SP: 26 Range: 5 Cast Time: 4
• Volleys a hail of arrows into the sky that rain down in a 3m range, inflicting [Arrow Shower] x 55% Phy. DMG on enemies in the range each 0.5 seconds for 5 seconds. Each Raging Storm stacked in the area increases DMG by 10%, up to 50%.

Aesir

• Raging Storm - Empower [Raging Storm] Dmg +6%
• Raging Storm - Ranged [Raging Storm] Cast Range +0.5m

Formula

function CommonFun.calcDamage_4103(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local AttrEffect = targetUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser, params)
  local BaseLvDamage = 0
  local IBaseLv = srcUser.BaseLv
  if srcUser:HasBuffID(42130_FREE_ARCHER_:MAX_STACK_0) then
    BaseLvDamage = IBaseLv * 15
  end
  local Num1 = srcUser:GetRunePoint(41001_AESIR_ARROW_SHOWER_DMG_5)
  local Num2 = srcUser:GetRunePoint(41002_AESIR_ARROW_SHOWER_DMG_10)
  local Num3 = srcUser:GetRunePoint(41003)
  local Num4 = srcUser:GetRunePoint(41004)
  local Num_srwn = srcUser:GetRunePoint(102006_AESIR_ARROW_SHOWER_DMG_5)
  local RuneDamage = Num1 * 0.05 + Num2 * 0.1 + Num3 * 0.05 + Num4 * 0.05 + Num_srwn * 0.05 + 1
  local Rate = 0
  local Num1 = srcUser:GetRunePoint(41007_AESIR_RECEIVE_FIRE_EXPLOSION_WHEN_ARROWS_HAVE_A_FIRE_ATTRIBUTE_AND_RELEASE_ATTACKS_WITH_A_10_CHANCE_TO_TRIGGER_50_CRIT_DMG)
  local SkillAttr = srcUser:GetCurSkillAtkAttr()
  if SkillAttr == 4 and 0 < Num1 then
    Rate = 10
  end
  local card1 = 1
  local RefineLv1 = srcUser:GetEquipedRefineLv(7_WEAPON)
  local CardNum = srcUser:GetEquipCardNum(7, 24053_RAIN_OF_ARROW_CARD)
  if srcUser:HasBuffID(52410_RAIN_OF_ARROW_CARD_:MAX_STACK_0) then
    card1 = RefineLv1 * 0.02 * CardNum + 1
  end
  if srcUser:HasBuffID(53350_DARK_ARCHER_CARD_:MAX_STACK_0) then
    card1 = card1 + 0.1
  end
  local uniform = 1
  local Ring1 = srcUser:GetEquipedID(2)
  if Ring1 == 42083_ELEGANT_UNIFORM or Ring1 == 142083_ELEGANT_UNIFORM_1 then
    uniform = 1.1
  end
  local RefineLv2 = srcUser:GetEquipedRefineLv(2)
  if srcUser:HasBuffID(90002413_ELEGANT_UNIFORM_R4_:MAX_STACK_0) and 5 < RefineLv2 then
    uniform = (RefineLv2 - 5) * 0.01 + uniform
  end
  local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRing.id == 42104 or equipRing.id == 142104 then
    uniform = 1.1
  end
  if (equipRing.id == 42104 or equipRing.id == 142104) and 5 < equipRing.refinelv then
    uniform = (equipRing.refinelv - 5) * 0.01 + uniform
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRingSD.id == 42104 or equipRingSD.id == 142104 then
    uniform = 1 + 0.1 * equipRingSD.quench_per / 100
  end
  if (equipRingSD.id == 42104 or equipRingSD.id == 142104) and 5 < equipRingSD.refinelv then
    uniform = (equipRingSD.refinelv - 5) * 0.01 * equipRingSD.quench_per / 100 + uniform
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * uniform + BaseLvDamage
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 1246_ASSASSIN:ARROW_STORM then
    local skilllv_Arrow = srcUser:GetLernedSkillLevel(1246_ASSASSIN:ARROW_STORM)
    local skilllv_Rain = srcUser:GetLernedSkillLevel(121_KNIGHT:ARROW_SHOWER)
    local damChangePer = 0.75
    if skilllv_Rain <= 10 then
      damChangePer = 0.75 + (skilllv_Rain - 1) * 0.15
    elseif 10 < skilllv_Rain then
      damChangePer = 2.1 + (skilllv_Rain - 10) * 0.3
    end
    local GemValue = srcUser:GetGemValue(41062_ARROW_STORM_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    local Fifth = 1
    if srcUser:HasBuffID(90004244_BOW_OF_THE_WIND_CHASER_1_T5_:MAX_STACK_0) and srcUser:HasBuffID(131080_UNLIMITED_STARS_:MAX_STACK_0) then
      Fifth = Fifth + 0.15
    end
    A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * (skilllv_Arrow * 0.2 + 1.6) * GemDam * Fifth
  end
  if skillID == 1384_ASSASSIN_CROSS:RAGING_STORM or skillID == 1433_ASSASSIN_CROSS:RAGING_STORM or skillID == 72600_:RAGING_STORM then
    local skilllv_wn = srcUser:GetLernedSkillLevel(1384_ASSASSIN_CROSS:RAGING_STORM)
    local skilllv_sr = srcUser:GetLernedSkillLevel(1433_ASSASSIN_CROSS:RAGING_STORM)
    local skill_all = skilllv_wn + skilllv_sr
    local skilllv_Rain = srcUser:GetLernedSkillLevel(121_KNIGHT:ARROW_SHOWER)
    local damChangePer = 0.75
    if skilllv_Rain <= 10 then
      damChangePer = 0.75 + (skilllv_Rain - 1) * 0.15
    elseif 10 < skilllv_Rain then
      damChangePer = 2.1 + (skilllv_Rain - 10) * 0.3
    end
    local rain_num = targetUser:GetBuffLayer(119092_RAGING_STORM_DAMAGE_MARK_:MAX_STACK_6)
    damChangePer = damChangePer * (1 + math.max(rain_num - 1, 0) * 0.1)
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    local beisi = 1
    local Ring1 = srcUser:GetEquipedID(7_WEAPON)
    if Ring1 == 63109_BASS_1 or Ring1 == 163109_BASS_2 or Ring1 == 62820_CHEMETI_WHIP_1 or Ring1 == 162820_CHEMETI_WHIP_2 then
      beisi = 1 + RefineLv * 0.02
    end
    if Ring1 == 62844_SINKING_1 or Ring1 == 162844_SINKING_2 or Ring1 == 63144_LIRA_1 or Ring1 == 163144_LIRA_2 then
      beisi = 1 + RefineLv * 0.02
    end
    local Num_kfby = srcUser:GetRunePoint(102040_AESIR_RAGING_STORM_DMG_6)
    local GemValue1 = srcUser:GetGemValue(102001_RAGING_STORM_DMG_PERCENTAGE)
    local GemValue2 = srcUser:GetGemValue(112001_RAGING_STORM_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
    A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * uniform * (skill_all * 0.05 + 0.5) * beisi * (1 + Num_kfby * 0.06) * GemDam
  end
  if A <= 1 then
    return 1
  end
  if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
    return A * 1.5, CommonFun.DamageType.Crit
  end
  return A
end

Enemy 6

function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * (a + c) + b
  if 0 < A or a == 0 then
    return A
  end
  if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
    return 0
  end
  if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
    local Vit = srcUser:GetProperty("Vit")
    local MAtk = srcUser:GetProperty("MAtk")
    local MAtkPer = srcUser:GetProperty("MAtkPer")
    local Refine = srcUser:GetProperty("Refine")
    local MRefine = srcUser:GetProperty("MRefine")
    local Def2 = targetUser:GetProperty("Def")
    local DefPer2 = targetUser:GetProperty("DefPer")
    local MDef2 = targetUser:GetProperty("MDef")
    local MDefPer2 = targetUser:GetProperty("MDefPer")
    local Vit2 = targetUser:GetProperty("Vit")
    local VitPer2 = targetUser:GetProperty("VitPer")
    local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
    local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
    local Int2 = targetUser:GetProperty("Int")
    local IntPer2 = targetUser:GetProperty("IntPer")
    local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
    local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
    local Str = srcUser:GetProperty("Str")
    local Dex = srcUser:GetProperty("Dex")
    local Luk = srcUser:GetProperty("Luk")
    local Atk = srcUser:GetProperty("Atk")
    local AtkPer = srcUser:GetProperty("AtkPer")
    local DamIncrease = srcUser:GetProperty("DamIncrease")
    local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
    local IgnoreDef = srcUser:GetProperty("IgnoreDef")
    if 1 <= IgnoreDef then
      IgnoreDef = 1
    end
    local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
    if 1 <= IgnoreMDef then
      IgnoreMDef = 1
    end
    local raceparam = 1
    local srcRace = srcUser.race
    local targetRace = targetUser.race
    if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      targetRace = 2
    end
    if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      srcRace = 2
    end
    if nil == CommonFun.RaceProps[targetRace] then
      return 0
    end
    if nil == CommonFun.RaceProps[srcRace] then
      return 0
    end
    local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
    local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
    local raceparam = 1 + raceInc - raceRed
    if raceparam <= 0.1 then
      raceparam = 0.1
    end
    local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    if MAtkFinal <= AtkFinal then
      local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
      A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
    else
      local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
      A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
    end
  end
  local AttrFunction = srcUser:GetProperty("AttrFunction")
  local bitfunc = CommonFun.getBits(AttrFunction)
  if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
    A = 0
  end
  if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
    A = 0
  end
  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

Self

{
  "id": 119091,
  "BuffDesc": "Move Spd up",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Raging Storm (Dancer Rune)",
  "BuffRate": {
    "Odds": {
      "a": 112002,
      "type": 5000
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 2,
  "BuffEffect": {
    "type": "AttrChange",
    "MoveSpdPer": {
      "a": 0,
      "b": 0,
      "c": 112002,
      "type": 5020
    }
  }
}

Self

{
  "id": 90004555,
  "BuffDesc": "Phy. Pen., Ignore DEF Increased",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "12986",
  "BuffRate": {
    "Odds": {
      "a": 90004554,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "DamSpike": 0.02,
    "IgnoreDef": 0.02,
    "limit_layer": 5
  }
}

Enemy

{
  "id": 44000050,
  "BuffName": "Fire Arrow Shower Burning",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 360
    }
  },
  "BuffEffect": {
    "id": [
      44000062,
      44000063
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 44000062,
  "BuffName": "Burning State Effect [Burning]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "MDefPer": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "3_Burn",
    "BeFireDamPer": -0.25
  },
  "BuffStateID": 95410
}

Enemy

{
  "id": 44000063,
  "BuffName": "Burning Bleeding Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": -0.01,
      "b": -5,
      "type": 6
    },
    "type": "HpReduce",
    "delHpPer": 0.2,
    "StateEffect": "3_Burn",
    "limit_layer": 2
  }
}

One Skill One Enemy Buff

{
  "id": 119092,
  "BuffName": "Raging Storm (Damage Mark)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AttrChange",
    "limit_layer": 6
  }
}

Formula

{
  "CD": 3,
  "id": 1433020,
  "Buff": {
    "self": [
      119091,
      90004555
    ],
    "enemy": [
      44000050
    ],
    "oneSkillOneEnemyBuff": [
      119092
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 1384000,
      "params": [
        150
      ]
    }
  ],
  "Icon": "skill_1384001",
  "Camps": "Enemy",
  "Level": 20,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 4103,
      "damChangePer": 0
    }
  ],
  "DescId": "##1255111",
  "NameZh": "##169228",
  "SE_hit": "Skill/skill_weapon_magicarrow_hit",
  "CastAct": "skill_ready",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 3,
  "Fire_EP": 6,
  "SE_cast": "Common/Magic_cast",
  "SE_fire": "Skill/skill_weapon_magicarrow_fire",
  "Pvp_buff": {
    "self": [
      119091,
      90004555
    ],
    "enemy": [
      44000050
    ],
    "oneSkillOneEnemyBuff": [
      119092
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 0,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 4,
    "type": 2
  },
  "SE_attack": "Skill/FuriouStorm_atk",
  "SkillCost": {
    "sp": 64
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "count": 10,
    "range": 3,
    "interval": 0.5,
    "no_select": 1,
    "range_num": 8,
    "isCountTrap": 1,
    "trap_effect": "FuriouStorm_hit,LowRange_B2"
  },
  "Launch_Range": 5,
  "StrengthenCost": [
    {
      "num": 5,
      "type": 1
    }
  ]
}