Electric Shock
Lvl: 15 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5

Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *1080%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.

Lvl: 14 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *1040%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 13 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *1000%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 12 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *960%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 11 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *920%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 10 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *880%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 10% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 9 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *820%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 9% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 8 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *760%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 8% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 7 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *700%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 7% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 6 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *640%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 6% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 5 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *580%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 5% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 4 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *520%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 4% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 3 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *460%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 3% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 2 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *400%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 2% of their Max SP per second for 5s. Can have up to 2 traps at a time.
Lvl: 1 TrapSkill Magic Skill Delay: 1.5 sec SP: 50 Range: 5
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *340%) earth M.Dmg based on Def to the enemy that triggers it and cause the target to lose 1% of their Max SP per second for 5s. Can have up to 2 traps at a time.

Aesir

• Electric Shock - Enhance [Electric Shock] damage + 8%

Formula

function CommonFun.calcDamage_4203(srcUser, targetUser, params, damageParam, logger)
  local BaseLv = srcUser.BaseLv
  local Dex = srcUser:GetProperty("Dex")
  local Int = srcUser:GetProperty("Int")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  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 Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
  local skilllv_2 = srcUser:GetLernedSkillLevel(damageParam.skill2_id)
  local AttrEffect = srcUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local damChangePer = damageParam.damChangePer
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local suit = 1
  if (srcUser:HasBuffID(90000773_STARDUST_ROBE_R4_:MAX_STACK_0) or srcUser:HasBuffID(42480_BLANKING_COAT_:MAX_STACK_0) or srcUser:HasBuffLayer(42480, EBUFFERLAYER_SHADOW)) and (srcUser:HasBuffID(90001005_LUNA_BROOCH_R6_:MAX_STACK_0) or srcUser:HasBuffID(43000_BRIGHT_MOON_:MAX_STACK_0) or srcUser:HasBuffLayer(43000, EBUFFERLAYER_SHADOW)) then
    suit = 1.1
  end
  local RefineLv2 = srcUser:GetEquipedRefineLv(2)
  if srcUser:HasBuffID(90000777_STARDUST_ROBE_R8_:MAX_STACK_0) then
    if 10 <= RefineLv2 and RefineLv2 < 15 then
      suit = suit + (RefineLv2 - 10) * 0.02
    elseif 15 <= RefineLv2 then
      suit = suit + (RefineLv2 - 10) * 0.02 + 0.05
    end
  end
  local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRing.id == 42092 or equipRing.id == 142092 then
    suit = suit + equipRing.refinelv * 0.02
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRingSD.id == 42092 or equipRingSD.id == 142092 then
    suit = suit + equipRingSD.refinelv * 0.02 * equipRingSD.quench_per / 100
  end
  local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
  if srcUser:HasBuffID(90000999_LUNA_BOW_1_R10_:MAX_STACK_0) then
    if 10 <= RefineLv7 and RefineLv7 < 15 then
      suit = suit + 0.08
    elseif 15 <= RefineLv7 then
      suit = suit + 0.08 + 0.12
    end
  end
  if srcUser:HasBuffID(41812_MOONLIGHT_GODDESS_:MAX_STACK_0) then
    if 5 <= RefineLv7 and RefineLv7 < 10 then
      suit = suit + 0.05
    elseif 10 <= RefineLv7 and RefineLv7 < 15 then
      suit = suit + 0.05 + 0.1
    elseif 15 <= RefineLv7 then
      suit = suit + 0.05 + 0.1 + 0.15
    end
  end
  if srcUser:HasBuffID(90004274_MOONLIGHT_GODDESS_1_T5_:MAX_STACK_0) then
    suit = suit + 0.1
  end
  local RefineLv5 = srcUser:GetEquipedRefineLv(5_ACCESSORY)
  local RefineLv6 = srcUser:GetEquipedRefineLv(6_ACCESSORY)
  local Ring1 = srcUser:GetEquipedID(5_ACCESSORY)
  local Ring2 = srcUser:GetEquipedID(6_ACCESSORY)
  local order1 = srcUser:getEquipLv(5)
  local order2 = srcUser:getEquipLv(6)
  local a = 0
  local b = 0
  if srcUser:HasBuffID(90001009_LUNA_BROOCH_R10_:MAX_STACK_0) and (Ring1 == 44006_LUNA_BROOCH or Ring1 == 144006_LUNA_BROOCH_1) and 10 <= order1 then
    a = RefineLv5 * 0.01
  end
  if srcUser:HasBuffID(90001009_LUNA_BROOCH_R10_:MAX_STACK_0) and (Ring2 == 44006_LUNA_BROOCH or Ring2 == 144006_LUNA_BROOCH_1) and 10 <= order2 then
    b = RefineLv6 * 0.01
  end
  local equipRing5 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY1)
  if equipRing5.id == 44050 or equipRing5.id == 144050 then
    a = equipRing5.refinelv * 0.02
  end
  local equipRingSD5 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY1)
  if equipRingSD5.id == 44050 or equipRingSD5.id == 144050 then
    a = equipRingSD5.refinelv * 0.02 * equipRingSD5.quench_per / 100
  end
  local equipRing6 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY2)
  if equipRing6.id == 44050 or equipRing6.id == 144050 then
    b = equipRing6.refinelv * 0.02
  end
  local equipRingSD6 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY2)
  if equipRingSD6.id == 44050 or equipRingSD6.id == 144050 then
    b = equipRingSD6.refinelv * 0.02 * equipRingSD6.quench_per / 100
  end
  suit = suit + a + b
  local Angel = 1
  if srcUser:HasBuffID(90001014_RUDRA_BOW_1_R5_:MAX_STACK_0) then
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    suit = suit + 0.02 * RefineLv
  end
  local Num7 = srcUser:GetRunePoint(42060_AESIR_FOR_EACH_LEVEL_OF_TRAP_RESEARCH_TRAP_DAMAGE_3)
  local RuneDamage3 = 1 + Num7 * 0.03 * skilllv_1
  local skilllv_trap = srcUser:GetLernedSkillLevel(1248_ASSASSIN:INSTRUMENT_EXPERT)
  local GemValue = srcUser:GetGemValue(41011_INSTRUMENT_EXPERT_DMG_INCREASING_EFFECT_PERCENTAGE)
  local trap = 1 + skilllv_trap * 0.02 + GemValue / 100000
  local NumDj = srcUser:GetRunePoint(44080_AESIR_ELECTRIC_SHOCK_DAMAGE_8)
  local RuneDj = 1 + NumDj * 0.08
  local GemValueyj = srcUser:GetGemValue(41101_TRAP_RESEARCH_TRAP_DMG_PERCENTAGE)
  local Leiqu = 1
  if srcUser:GetFromSkill() == 815001 then
    local GemValuelq = srcUser:GetGemValue(41122_MINEFIELD_TRAP_DAMAGE_PERCENTAGE)
    Leiqu = 1 + GemValuelq / 100000
  end
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local Atk_add = 0
  if srcUser:HasBuffID(56480_INTELLIGENCE_COLLAPSE_CARD_:MAX_STACK_0) or srcUser:HasBuffID(56490_INTELLIGENCE_COLLAPSE_CARD_:MAX_STACK_0) then
    Atk_add = Atk * (1 + AtkPer) * 0.2
  end
  local A = ((Dex * (3 + BaseLv / 100) * (1 + Int / 35) + Atk_add) * damChangePer + (skilllv_1 * 20 + GemValueyj / 1000) * RuneDamage3) * DefReduc * (1 + MDamIncrease) * (1 - RefineMDamReduc) * (1 - MDamReduc2) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 * raceparam * bossparam * suit * trap * RuneDj * Leiqu
  if A <= 1 then
    return 1
  end
  local Num1 = srcUser:GetRunePoint(42031_AESIR_WHEN_DETONATOR_IS_TRAPPED_TRAPS_DEAL_10_DAMAGE)
  local Num2 = srcUser:GetRunePoint(42032_AESIR_WHEN_DETONATOR_IS_TRAPPED_TRAPS_DEAL_5_DAMAGE)
  local Num3 = srcUser:GetRunePoint(42033)
  local Num4 = srcUser:GetRunePoint(42034)
  local Num5 = srcUser:GetRunePoint(42035)
  local RuneDamage = Num1 * 0.1 + Num2 * 0.05 + Num3 * 0.05 + Num4 * 0.1 + Num5 * 0.05 + 1
  if bits[CommonFun.AttrEffect.TriggerTrapMark] == 1 then
    return A * (1 + skilllv_2 * 0.1) * RuneDamage
  end
  return A
end

Formula

{
  "id": 1247015,
  "Cost": 1,
  "Desc": [
    {
      "id": 1247000,
      "params": [
        1080,
        10,
        5
      ]
    }
  ],
  "Icon": "skill_1247001",
  "Camps": "Enemy",
  "Level": 15,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 4203,
      "skill1_id": 142,
      "skill2_id": 125,
      "damChangePer": 10.8,
      "elementparam": 1
    }
  ],
  "DescId": "##171031",
  "NameZh": "##143779",
  "SE_hit": "Skill/EleVortex_hit",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 1.5,
  "Fire_EP": 6,
  "SE_cast": "Common/Skill_cast",
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/EleVortex_attack",
  "SkillCost": {
    "sp": 50
  },
  "SkillType": "TrapSkill",
  "Target_EP": 3,
  "DamageType": 2,
  "Logic_Param": {
    "hit": 1,
    "npcid": 5046,
    "range": 1,
    "skillid": 1251015,
    "duration": 30,
    "isNpcTrap": 1,
    "max_count": 2,
    "no_select": 1,
    "isTimeTrap": 1,
    "suspend_can_immune": 1
  },
  "Launch_Range": 5
}