Comet Trap

Comet Trap

Lv 10TrapSkillMagic

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.

CD: 1.5 sec
Range: 5

Skill Levels

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

1function CommonFun.calcDamage_18(srcUser, targetUser, params, damageParam, logger)
2  local Str1 = srcUser:GetProperty("Str")
3  local Num1 = srcUser:GetRunePoint(62080_AESIR_INCREASE_AUTO_ATTACK_BY_20_WHEN_USING_NORMAL_ATTACKS_ATK_QUALITY_FROM_STR_1)
4  local RuneDamage = Num1 * 0.01 + 1
5  local Str = Str1 * RuneDamage
6  local Dex = srcUser:GetProperty("Dex")
7  local Luk = srcUser:GetProperty("Luk")
8  local Atk = srcUser:GetProperty("Atk")
9  local NormalAtk = srcUser:GetProperty("NormalAtk")
10  NormalAtk = NormalAtk + 5 * Str
11  local AtkPer = srcUser:GetProperty("AtkPer")
12  local DamIncrease = srcUser:GetProperty("DamIncrease")
13  local WeaponType = srcUser:GetEquipedWeaponType()
14  local IgnoreDef = 0
15  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
16  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
17  if targetUser.boss or targetUser.mini then
18    IgnoreDef = IgnoreDef1
19  else
20    IgnoreDef = IgnoreDef1 + IgnoreDef2
21  end
22  if 1 <= IgnoreDef then
23    IgnoreDef = 1
24  end
25  local Refine = srcUser:GetProperty("Refine")
26  local Def2 = targetUser:GetProperty("Def")
27  local DefPer2 = targetUser:GetProperty("DefPer")
28  local Vit2 = targetUser:GetProperty("Vit")
29  local VitPer2 = targetUser:GetProperty("VitPer")
30  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
31  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
32  local damChangePer = damageParam.damChangePer
33  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
34  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
35  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
36  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
37  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
38  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
39  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
40  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
41  local BaseAtk = Str1 * 2 + math.floor(Str1 * Str1 / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
42  local BaseAtk1 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
43  local AtkFinal = ((Atk - BaseAtk + NormalAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk1) * raceparam * bossparam * bossparam2
44  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
45  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
46  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
47  local skilllv_1 = srcUser:GetLernedSkillLevel(179_KNIGHT:DOUBLE_ATTACK)
48  if WeaponType == 250 and CommonFun.IsInRate(skilllv_1 * 5, srcUser:GetRandom()) then
49    return A * 2, CommonFun.DamageType.ErLianJi
50  end
51  if A <= 1 then
52    return 1
53  end
54  return A
55end
Preserved HTML snapshot from ROM Handbook