
One Hit Kill - Soaring Dragon Sword
Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 3 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
Aesir Effects
Skill Levels
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.85 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.7 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.55 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.4 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.25 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 2.1 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 1.95 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 1.8 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
• Gathers the entire body's strength to deal Fire Phy. DMG that is equal to Dragon Fang Fist and Flame Dragon Blast multiplier x 1.65 and ignores the enemy's blocking effect; the lower the target's HP percentage, the higher the damage dealt. Cannot use any other attacking skills within 3 seconds after casting this skill.
Formula
1function CommonFun.calcDamage_16105(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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
41 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
42 local skilllv_lyq = srcUser:GetLernedSkillLevel(1806_ARCHER:DRAGON_FANG_FIST)
43 local skilllv_ylq = srcUser:GetLernedSkillLevel(1812_HUNTER:FLAME_DRAGON_BLAST)
44 local Num1 = srcUser:GetRunePoint(213010_AESIR_DRAGON_FANG_FIST_DMG_10)
45 local RuneDamage1 = 1 + Num1 * 0.1
46 local GemValue1 = srcUser:GetGemValue(61091_KNUCKLE_BOOST_DMG_PERCENTAGE)
47 local GemDam1 = 1 + GemValue1 / 100000
48 local beilv_lyq = 2.5
49 if skilllv_lyq <= 5 and 0 < skilllv_lyq then
50 beilv_lyq = skilllv_lyq * 0.8 + 4.4
51 else
52 beilv_lyq = (skilllv_lyq - 5) * 0.6 + 8.4
53 end
54 local damChangePer_lyq = beilv_lyq * GemDam1 * RuneDamage1
55 local sizeCorrection = 1
56 if nil ~= CommonFun.Shape then
57 if CommonFun.Shape.S == targetUser.shape then
58 sizeCorrection = 1.5
59 elseif CommonFun.Shape.M == targetUser.shape then
60 sizeCorrection = 1
61 elseif CommonFun.Shape.L == targetUser.shape then
62 sizeCorrection = 0.75
63 end
64 end
65 local huimie = 1
66 local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
67 if srcUser:HasBuffID(90000647_DOOM_AXE_1_TIER_8_:MAX_STACK_0) then
68 if RefineLv7 < 15 then
69 huimie = RefineLv7 * 0.01 + 1 + 0.05
70 elseif 15 <= RefineLv7 then
71 huimie = RefineLv7 * 0.01 + 1 + 0.05 + 0.1
72 end
73 end
74 if srcUser:HasBuffID(90002657_WARRIOR_S_SWORD_1_TIER_8_:MAX_STACK_0) then
75 huimie = RefineLv7 * 0.01 + 1 + 0.15
76 end
77 if srcUser:HasBuffID(41940_SHATTERED_EARTH_:MAX_STACK_0) then
78 if RefineLv7 < 15 then
79 huimie = RefineLv7 * 0.01 + 1 + 0.05
80 elseif 15 <= RefineLv7 then
81 huimie = RefineLv7 * 0.01 + 1 + 0.05 + 0.1
82 end
83 end
84 if srcUser:HasBuffID(43480_KING_S_SWORD_1_:MAX_STACK_0) then
85 huimie = RefineLv7 * 0.02 + 1 + 0.15
86 end
87 local Num = srcUser:GetRunePoint(213015_AESIR_FLAME_DRAGON_BLAST_DMG_10)
88 local RuneDamage = 1 + Num * 0.1
89 local Card = 1
90 if srcUser:HasBuffID(53310_MECHANICAL_HOUND_CARD_:MAX_STACK_0) then
91 if 10 <= RefineLv7 then
92 Card = Card + 0.1
93 else
94 Card = Card + 0.05
95 end
96 end
97 local GemValue = srcUser:GetGemValue(61001_ARM_CANNON_DMG_PERCENTAGE)
98 local GemDam = 1 + GemValue / 100000
99 local beilv_ylq = 10.7
100 if 0 < skilllv_ylq then
101 beilv_ylq = skilllv_ylq * 0.9 + 9.8
102 end
103 local damChangePer_ylq = beilv_ylq * sizeCorrection * huimie * RuneDamage * Card * GemDam
104 local A = 1
105 local MaxHp = targetUser:GetProperty("MaxHp")
106 local Hp = targetUser:GetProperty("Hp")
107 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
108 if skillID == 1809_HUNTER:ONE_HIT_KILL_SOARING_DRAGON_SWORD then
109 local HpPerRatio = 1 + (1 - Hp / MaxHp) * 1
110 A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (damChangePer_ylq + damChangePer_lyq) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpPerRatio
111 end
112 if skillID == 1835_HUNTER:ONE_HIT_KILL_PHOENIX_DRAGON_SWORD then
113 A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (damChangePer_ylq + damChangePer_lyq) * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)
114 local skilllv_ylq = srcUser:GetLernedSkillLevel(1837_HUNTER:ONE_HIT_KILL_PHOENIX_DRAGON_SWORD_EXECUTE)
115 local HpPer = skilllv_ylq * 0.03
116 if HpPer >= Hp / MaxHp then
117 if targetUser:GetNpcID() == 0 then
118 return 99999999
119 else
120 return A
121 end
122 end
123 end
124 if A <= 1 then
125 return 1
126 end
127 return A
128end