
Land Mine
Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 50%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
Aesir Effects
Skill Levels
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 45%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 40%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 35%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 30%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 25%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 20%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 15%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 10%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• Lay traps in a specified area, each trap will deal ((DEX*(3+BaseLv/100) * (1+INT/35) + (Atk + Refine Atk) * 5%)*760%) to a single target, with Earth Magic Damage that ignores Def. Can place a max of 2 at one time.
• 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. Can have up to 2 traps of this kind.
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *620%) earth M.Dmg based on Def to the enemy that triggers it. Can have up to 2 traps of this kind.
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *480%) earth M.Dmg based on Def to the enemy that triggers it. Can have up to 2 traps of this kind.
• 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. Can have up to 2 traps of this kind.
• Places a trap which deals (Dex* (3 +BaseLv/100) * (1 +Int/35) *200%) earth M.Dmg based on Def to the enemy that triggers it. Can have up to 2 traps of this kind.
Formula
1function CommonFun.calcDamage_4202(srcUser, targetUser, params, damageParam, logger)
2 local BaseLv = srcUser.BaseLv
3 local Dex = srcUser:GetProperty("Dex")
4 local Int = srcUser:GetProperty("Int")
5 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
6 local IgnoreDef = 0
7 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
8 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
9 if targetUser.boss or targetUser.mini then
10 IgnoreDef = IgnoreDef1
11 else
12 IgnoreDef = IgnoreDef1 + IgnoreDef2
13 end
14 if 1 <= IgnoreDef then
15 IgnoreDef = 1
16 end
17 local Def2 = targetUser:GetProperty("Def")
18 local DefPer2 = targetUser:GetProperty("DefPer")
19 local Vit2 = targetUser:GetProperty("Vit")
20 local VitPer2 = targetUser:GetProperty("VitPer")
21 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
22 local targetDefElement = targetUser:GetProperty("DefAttr")
23 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
24 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
25 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
26 local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
27 local skilllv_2 = srcUser:GetLernedSkillLevel(damageParam.skill2_id)
28 local AttrEffect = srcUser:GetProperty("AttrEffect")
29 local bits = CommonFun.getBits(AttrEffect)
30 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
31 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
32 local damChangePer = damageParam.damChangePer
33 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
34 local StateEffect = targetUser:GetProperty("StateEffect")
35 local bits2 = CommonFun.getBits(StateEffect)
36 local Num6 = srcUser:GetRunePoint(42050_AESIR_LAND_MINE_DEALS_10_MORE_DAMAGE_TO_SNARED_TARGETS)
37 local RuneDamage2 = 1
38 if bits2[CommonFun.StateEffect.NoMove] == 1 then
39 RuneDamage2 = 1 + Num6 * 0.1
40 end
41 local suit = 1
42 if (srcUser:HasBuffID(90000773_STARDUST_ROBE_TIER_4_:MAX_STACK_0) or srcUser:HasBuffID(42480_BLANKING_COAT_:MAX_STACK_0) or srcUser:HasBuffLayer(42480, EBUFFERLAYER_SHADOW)) and (srcUser:HasBuffID(90001005_LUNA_BROOCH_TIER_6_:MAX_STACK_0) or srcUser:HasBuffID(43000_BRIGHT_MOON_:MAX_STACK_0) or srcUser:HasBuffLayer(43000, EBUFFERLAYER_SHADOW)) then
43 suit = 1.1
44 end
45 local RefineLv2 = srcUser:GetEquipedRefineLv(2)
46 if srcUser:HasBuffID(90000777_STARDUST_ROBE_TIER_8_:MAX_STACK_0) then
47 if 10 <= RefineLv2 and RefineLv2 < 15 then
48 suit = suit + (RefineLv2 - 10) * 0.02
49 elseif 15 <= RefineLv2 then
50 suit = suit + (RefineLv2 - 10) * 0.02 + 0.05
51 end
52 end
53 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
54 if equipRing.id == 42092 or equipRing.id == 142092 then
55 suit = suit + equipRing.refinelv * 0.02
56 end
57 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
58 if equipRingSD.id == 42092 or equipRingSD.id == 142092 then
59 suit = suit + equipRingSD.refinelv * 0.02 * equipRingSD.quench_per / 100
60 end
61 local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
62 if srcUser:HasBuffID(90000999_LUNA_BOW_1_TIER_10_:MAX_STACK_0) then
63 if 10 <= RefineLv7 and RefineLv7 < 15 then
64 suit = suit + 0.08
65 elseif 15 <= RefineLv7 then
66 suit = suit + 0.08 + 0.12
67 end
68 end
69 if srcUser:HasBuffID(41812_MOONLIGHT_GODDESS_:MAX_STACK_0) then
70 if 5 <= RefineLv7 and RefineLv7 < 10 then
71 suit = suit + 0.05
72 elseif 10 <= RefineLv7 and RefineLv7 < 15 then
73 suit = suit + 0.05 + 0.1
74 elseif 15 <= RefineLv7 then
75 suit = suit + 0.05 + 0.1 + 0.15
76 end
77 end
78 if srcUser:HasBuffID(90004274_MOONLIGHT_GODDESS_1_TIER_5_:MAX_STACK_0) then
79 suit = suit + 0.1
80 end
81 local RefineLv5 = srcUser:GetEquipedRefineLv(5_ACCESSORY)
82 local RefineLv6 = srcUser:GetEquipedRefineLv(6_ACCESSORY)
83 local Ring1 = srcUser:GetEquipedID(5_ACCESSORY)
84 local Ring2 = srcUser:GetEquipedID(6_ACCESSORY)
85 local order1 = srcUser:getEquipLv(5)
86 local order2 = srcUser:getEquipLv(6)
87 local a = 0
88 local b = 0
89 if srcUser:HasBuffID(90001009_LUNA_BROOCH_TIER_10_:MAX_STACK_0) and (Ring1 == 44006_LUNA_BROOCH or Ring1 == 144006_LUNA_BROOCH_1) and 10 <= order1 then
90 a = RefineLv5 * 0.01
91 end
92 if srcUser:HasBuffID(90001009_LUNA_BROOCH_TIER_10_:MAX_STACK_0) and (Ring2 == 44006_LUNA_BROOCH or Ring2 == 144006_LUNA_BROOCH_1) and 10 <= order2 then
93 b = RefineLv6 * 0.01
94 end
95 local equipRing5 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY1)
96 if equipRing5.id == 44050 or equipRing5.id == 144050 then
97 a = equipRing5.refinelv * 0.02
98 end
99 local equipRingSD5 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY1)
100 if equipRingSD5.id == 44050 or equipRingSD5.id == 144050 then
101 a = equipRingSD5.refinelv * 0.02 * equipRingSD5.quench_per / 100
102 end
103 local equipRing6 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY2)
104 if equipRing6.id == 44050 or equipRing6.id == 144050 then
105 b = equipRing6.refinelv * 0.02
106 end
107 local equipRingSD6 = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ACCESSORY2)
108 if equipRingSD6.id == 44050 or equipRingSD6.id == 144050 then
109 b = equipRingSD6.refinelv * 0.02 * equipRingSD6.quench_per / 100
110 end
111 suit = suit + a + b
112 local Angel = 1
113 if srcUser:HasBuffID(90001014_RUDRA_BOW_1_TIER_5_:MAX_STACK_0) then
114 local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
115 suit = suit + 0.02 * RefineLv
116 end
117 local Num7 = srcUser:GetRunePoint(42060_AESIR_FOR_EACH_LEVEL_OF_TRAP_RESEARCH_TRAP_DAMAGE_3)
118 local RuneDamage3 = 1 + Num7 * 0.03 * skilllv_1
119 local Refine = srcUser:GetProperty("Refine")
120 local Atk = srcUser:GetProperty("Atk")
121 local AtkPer = srcUser:GetProperty("AtkPer")
122 local skilllv_add = srcUser:GetLernedSkillLevel(116_KNIGHT:LAND_MINE)
123 local atk_add = 0
124 if 5 < skilllv_add then
125 atk_add = (Atk * (1 + AtkPer) + Refine) * ((skilllv_add - 5) * 0.05)
126 end
127 local skilllv_trap = srcUser:GetLernedSkillLevel(1248_ASSASSIN:INSTRUMENT_EXPERT)
128 local GemValue = srcUser:GetGemValue(41011_INSTRUMENT_EXPERT_DMG_INCREASING_EFFECT_PERCENTAGE)
129 local trap = 1 + skilllv_trap * 0.02 + GemValue / 100000
130 local GemValueyj = srcUser:GetGemValue(41101_TRAP_RESEARCH_TRAP_DMG_PERCENTAGE)
131 local Leiqu = 1
132 if srcUser:GetFromSkill() == 815001 then
133 local GemValuelq = srcUser:GetGemValue(41122_MINEFIELD_TRAP_DAMAGE_PERCENTAGE)
134 Leiqu = 1 + GemValuelq / 100000
135 end
136 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 * RuneDamage2 * suit * trap * Leiqu
137 if A <= 1 then
138 return 1
139 end
140 local Num1 = srcUser:GetRunePoint(42031_AESIR_WHEN_DETONATOR_IS_TRAPPED_TRAPS_DEAL_10_DAMAGE)
141 local Num2 = srcUser:GetRunePoint(42032_AESIR_WHEN_DETONATOR_IS_TRAPPED_TRAPS_DEAL_5_DAMAGE)
142 local Num3 = srcUser:GetRunePoint(42033)
143 local Num4 = srcUser:GetRunePoint(42034)
144 local Num5 = srcUser:GetRunePoint(42035)
145 local RuneDamage = Num1 * 0.1 + Num2 * 0.05 + Num3 * 0.05 + Num4 * 0.1 + Num5 * 0.05 + 1
146 if bits[CommonFun.AttrEffect.TriggerTrapMark] == 1 then
147 return A * (1 + skilllv_2 * 0.1) * RuneDamage
148 end
149 return A
150end