
Self Destruction
Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *100% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
Aesir Effects
Skill Levels
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *90% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *80% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *70% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *60% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *50% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *40% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *30% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *20% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
• Cause the Madogear to self-destruct, dealing Atk *(Current HP/5000 (Coefficient value does not exceed 200) + Current SP/100 + VIT/10) *10% Neutral Dmg to nearby enemies. Demount the Madogear after use and consume all Sp. Cause [Madogear License] skill to enter a 10s cooldown. (HP factor is not amplified in PVP. This skill ignores Flee)
Formula
1function CommonFun.calcDamage_6402(srcUser, targetUser, params, damageParam, logger)
2 local Str = srcUser:GetProperty("Str")
3 local Dex = srcUser:GetProperty("Dex")
4 local Luk = srcUser:GetProperty("Luk")
5 local Atk = srcUser:GetProperty("Atk")
6 local AtkPer = srcUser:GetProperty("AtkPer")
7 local DamIncrease = srcUser:GetProperty("DamIncrease")
8 local IgnoreDef = 0
9 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
10 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
11 if targetUser.boss or targetUser.mini then
12 IgnoreDef = IgnoreDef1
13 else
14 IgnoreDef = IgnoreDef1 + IgnoreDef2
15 end
16 if 1 <= IgnoreDef then
17 IgnoreDef = 1
18 end
19 local Refine = srcUser:GetProperty("Refine")
20 local Def2 = targetUser:GetProperty("Def")
21 local DefPer2 = targetUser:GetProperty("DefPer")
22 local Vit2 = targetUser:GetProperty("Vit")
23 local VitPer2 = targetUser:GetProperty("VitPer")
24 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
25 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
26 local damChangePer = damageParam.damChangePer
27 local Weapon = srcUser:GetEquipedID(7_WEAPON)
28 local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
29 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
30 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
31 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
32 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
33 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
34 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
35 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
36 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
37 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
38 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
39 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
40 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
41 local Sp = srcUser:GetProperty("Sp")
42 local Hp = srcUser:GetProperty("Hp")
43 local Vit = srcUser:GetProperty("Vit")
44 local mapid, maptype = srcUser:GetMapInfo()
45 local pvpRatio = 1
46 if maptype == PVP_MAPS then
47 pvpRatio = 0.25
48 end
49 local Wrench = 1
50 local Ring7 = srcUser:GetEquipedID(7_WEAPON)
51 local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
52 if Ring7 == 41556 or Ring7 == 141556 then
53 Wrench = Wrench + RefineLv7 * 0.02
54 end
55 if srcUser:HasBuffID(22880_ENGINEER_S_WRENCH_POST_INFUSION_1_:MAX_STACK_0) then
56 Wrench = Wrench + RefineLv7 * 0.02
57 end
58 local Fifth = 0
59 if srcUser:HasBuffID(90004864_13006_:MAX_STACK_0) then
60 Fifth = 10
61 end
62 if srcUser:HasBuffID(55790_9903_:MAX_STACK_0) then
63 Wrench = 0.1 + Wrench
64 end
65 if srcUser:HasBuffID(57860_23339_MECHANICAL_CRAFTSMAN_CARD_:MAX_STACK_0) then
66 Wrench = 0.1 + Wrench
67 end
68 local Num = srcUser:GetRunePoint(64040_AESIR_SUICIDAL_DESTRUCTION_DAMAGE_5)
69 local RuneDamage = 1 + Num * 0.05
70 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (Sp / 100 + math.min(Hp / 5000 * pvpRatio, 200) + Vit / 10 + Fifth) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Wrench * RuneDamage
71 if A <= 1 then
72 return 1
73 end
74 return A
75end