Comet Trap
Lvl: 10 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5

Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1560%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.

Lvl: 9 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1480%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 8 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1400%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 7 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1320%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 6 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1240%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 5 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1160%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 4 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1080%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 3 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x1000%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 2 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x920%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.
Lvl: 1 TrapSkill Magic CD: 1.5 sec Skill Delay: 1.5 sec SP: 80 Range: 5
• Places a Comet Trap in the designated area, dealing (Dex x(3 + Base Lv. / 100) x(1 + Int / 35) x840%) Neutral M.Dmg based on Def when triggered. Could have up to 2 traps of this kind.

Formula

function CommonFun.calcDamage_18(srcUser, targetUser, params, damageParam, logger)
  local Str1 = srcUser:GetProperty("Str")
  local Num1 = srcUser:GetRunePoint(62080_AESIR_INCREASE_AUTO_ATTACK_BY_20_WHEN_USING_NORMAL_ATTACKS_ATK_QUALITY_FROM_STR_1)
  local RuneDamage = Num1 * 0.01 + 1
  local Str = Str1 * RuneDamage
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local NormalAtk = srcUser:GetProperty("NormalAtk")
  NormalAtk = NormalAtk + 5 * Str
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local WeaponType = srcUser:GetEquipedWeaponType()
  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 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 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 = Str1 * 2 + math.floor(Str1 * Str1 / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local BaseAtk1 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk + NormalAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk1) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skilllv_1 = srcUser:GetLernedSkillLevel(179_KNIGHT:DOUBLE_ATTACK)
  if WeaponType == 250 and CommonFun.IsInRate(skilllv_1 * 5, srcUser:GetRandom()) then
    return A * 2, CommonFun.DamageType.ErLianJi
  end
  if A <= 1 then
    return 1
  end
  return A
end

Formula

{
  "CD": 1.5,
  "id": 4007010,
  "Cost": 1,
  "Desc": [
    {
      "id": 4007000,
      "params": [
        1560
      ]
    }
  ],
  "Icon": "skill_4007001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillPointRange",
  "DescId": "##172095",
  "NameZh": "##147341",
  "SE_hit": "Skill/Hunter_huixingxianjin",
  "DelayCD": 1.5,
  "Fire_EP": 6,
  "SE_cast": "Common/Magic_cast",
  "ItemCost": [
    {
      "id": 12903,
      "count": 2100
    }
  ],
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/skill_magic_comettrap_attack",
  "SkillCost": {
    "sp": 80
  },
  "SkillType": "TrapSkill",
  "Target_EP": 3,
  "DamageType": 2,
  "Logic_Param": {
    "hit": 1,
    "npcid": 806611,
    "range": 1,
    "skillid": 4014010,
    "duration": 30,
    "isNpcTrap": 1,
    "max_count": 2,
    "no_select": 1,
    "isTimeTrap": 1,
    "suspend_can_immune": 1
  },
  "Launch_Range": 5,
  "ExtraMaxLevel": 1
}