
Heavy Roll
Chops the specified enemy and tears the void apart, dealing P.ATK*3600%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
Skill Levels
• Chops the specified enemy and tears the void apart, dealing P.ATK*3400%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*3200%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*3000%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*2800%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*2600%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*2400%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*2200%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*2000%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
• Chops the specified enemy and tears the void apart, dealing P.ATK*1800%*(1+Abyssal Sear count) as P.DMG to enemies within a 2*8m area along the path. This skill can cancel backswings.
Formula
1function CommonFun.calcDamage_60501(srcUser, targetUser, params, damageParam, logger)
2 local Str = srcUser:GetProperty("Str")
3 local Vit = srcUser:GetProperty("Vit")
4 local Dex = srcUser:GetProperty("Dex")
5 local Luk = srcUser:GetProperty("Luk")
6 local Int = srcUser:GetProperty("Int")
7 local Atk = srcUser:GetProperty("Atk")
8 local AtkPer = srcUser:GetProperty("AtkPer")
9 local MAtk = srcUser:GetProperty("MAtk")
10 local MAtkPer = srcUser:GetProperty("MAtkPer")
11 local DamIncrease = srcUser:GetProperty("DamIncrease")
12 local IgnoreDef = 0
13 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
14 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
15 if targetUser.boss or targetUser.mini then
16 IgnoreDef = IgnoreDef1
17 else
18 IgnoreDef = IgnoreDef1 + IgnoreDef2
19 end
20 if 1 <= IgnoreDef then
21 IgnoreDef = 1
22 end
23 local Refine = srcUser:GetProperty("Refine")
24 local MRefine = srcUser:GetProperty("MRefine")
25 local Def2 = targetUser:GetProperty("Def")
26 local DefPer2 = targetUser:GetProperty("DefPer")
27 local Vit2 = targetUser:GetProperty("Vit")
28 local VitPer2 = targetUser:GetProperty("VitPer")
29 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
30 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
31 local damChangePer = damageParam.damChangePer
32 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
33 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
34 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
35 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
36 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
37 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
38 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
39 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
40 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
41 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
42 local BaseMAtk = Int + math.floor(Int * Int / 100)
43 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
44 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
45 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
46 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
47 local guid = srcUser:GetGuid()
48 local Debuff_Layer = targetUser:GetBuffLayerByIDAndFromID(136480, guid)
49 local Debuff_Dam = math.pow(2, Debuff_Layer)
50 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
51 if skillID == 2503_PRIEST:PHASE_1_CALAMITY or skillID == 2523_HIGH_PRIEST:PHASE_1_CALAMITY then
52 A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
53 end
54 if skillID == 2515_HIGH_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION or skillID == 2524_HIGH_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION then
55 local skilllv_2 = srcUser:GetLernedSkillLevel(2504_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION)
56 damChangePer = skilllv_2 * 2 + 14
57 A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
58 end
59 if skillID == 2516_HIGH_PRIEST:PHASE_3_DEMONIC_DANCE or skillID == 2525_HIGH_PRIEST:PHASE_3_DEMONIC_DANCE then
60 local skilllv_3 = srcUser:GetLernedSkillLevel(2505_PRIEST:PHASE_3_DEMONIC_DANCE)
61 damChangePer = skilllv_3 * 2 + 18
62 A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
63 end
64 if skillID == 2517_HIGH_PRIEST:PHASE_4_FINISH_MOVE or skillID == 2526_HIGH_PRIEST:PHASE_4_FINISH_MOVE then
65 local skilllv_4 = srcUser:GetLernedSkillLevel(2506_PRIEST:PHASE_4_FINISH_MOVE)
66 damChangePer = skilllv_4 * 2 + 22
67 A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
68 local count = params.hitedCount
69 if count == 1 then
70 local GemValue = srcUser:GetGemValue(201101_IF_PHASE_4_HITS_ONLY_ONE_UNIT_ITS_DAMAGE_PERCENTAGE)
71 local GemDam = 1 + GemValue / 100000
72 A = A * GemDam
73 end
74 end
75 if skillID == 2511_PRIEST:HEAVY_ROLL then
76 local GemValue = srcUser:GetGemValue(201151_FOR_EACH_FRENZY_OF_HEAVY_ROLL_LOSES_DAMAGE_INCREASES_BY_PERCENTAGE)
77 local skilllv = srcUser:GetLernedSkillLevel(2502_PRIEST:DARK_FATE)
78 local Num = srcUser:GetBuffLayer(136400_FRENZY_:MAX_STACK_0)
79 A = A * (Debuff_Layer + 1)
80 if srcUser:HasBuffID(90004724_SWORD_OF_HOGNE_1_TIER_5_:MAX_STACK_0) then
81 A = A * 1.15
82 end
83 if skilllv < 4 and GemValue ~= 0 then
84 A = A * (1 + (100 - Num) * GemValue / 100000)
85 elseif 4 <= skilllv and GemValue ~= 0 then
86 A = A * (1 + (150 - Num) * GemValue / 100000)
87 end
88 end
89 if skillID == 2522_HIGH_PRIEST:HEAVY_ROLL then
90 local skilllv_zny = srcUser:GetLernedSkillLevel(2511_PRIEST:HEAVY_ROLL)
91 damChangePer = 16 + 2 * skilllv_zny
92 A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * (Debuff_Layer + 1)
93 local GemValue = srcUser:GetGemValue(201151_FOR_EACH_FRENZY_OF_HEAVY_ROLL_LOSES_DAMAGE_INCREASES_BY_PERCENTAGE)
94 local skilllv = srcUser:GetLernedSkillLevel(2502_PRIEST:DARK_FATE)
95 local Num = srcUser:GetBuffLayer(136400_FRENZY_:MAX_STACK_0)
96 if skilllv < 4 and GemValue ~= 0 then
97 A = A * (1 + (100 - Num) * GemValue / 100000)
98 elseif 4 <= skilllv and GemValue ~= 0 then
99 A = A * (1 + (150 - Num) * GemValue / 100000)
100 end
101 end
102 if A <= 1 then
103 return 1
104 end
105 return A
106end