
Soul Depravity
Release all Souls, cause DMG (3000% + 300% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
Skill Levels
• Release all Souls, cause DMG (2800% + 270% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (2600% + 240% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (2400% + 210% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (2200% + 180% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (2000% + 150% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (1800% + 120% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (1600% + 90% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (1400% + 60% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
• Release all Souls, cause DMG (1200% + 30% *Soul No.) to enemies within 6 meters, and kill all enemies with HP lower than (Soul No. *1%). The killing effect is invalid for MVP / Mini. Killing the targets by using this Skill cannot gain you Souls
Formula
1function CommonFun.calcDamage_3501(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 Hp2 = targetUser:GetProperty("Hp")
27 local MaxHp2 = targetUser:GetProperty("MaxHp")
28 local damChangePer = damageParam.damChangePer
29 local AttrEffect = srcUser:GetProperty("AttrEffect")
30 local bits = CommonFun.getBits(AttrEffect)
31 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
32 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
33 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
34 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
35 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
36 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
37 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
38 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
39 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
40 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
41 local DefReduc = CommonFun.CalcDef(srcUser, targetUser, params)
42 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
43 local skilllv = srcUser:GetLernedSkillLevel(3909_DIVINE_AVENGER:SOUL_DEPRAVITY)
44 local Num = srcUser:GetBuffLayer(130503_PHANTOM_:MAX_STACK_0)
45 local skilllv_1 = srcUser:GetLernedSkillLevel(3926_DIVINE_AVENGER:SOUL_DEPRAVITY_ENHANCE)
46 local ratio = skilllv_1 * 0.04 + 1
47 local GemValue = srcUser:GetGemValue(31142_SOUL_DEPRAVITY_DMG_PERCENTAGE)
48 local GemDam = 1 + GemValue / 100000
49 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
50 if skillID == 3929_DIVINE_AVENGER:SOUL_RETURN then
51 damChangePer = 10 + 2 * skilllv
52 Num = 0
53 end
54 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + skilllv * Num * 0.3) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * ratio * GemDam
55 if A <= 1 then
56 return 1
57 end
58 if srcUser:HasBuffID(90004334_ASSASSIN_S_JUR_1_TIER_5_:MAX_STACK_0) then
59 local Cri = srcUser:GetProperty("Cri")
60 local CriRes2 = targetUser:GetProperty("CriRes")
61 local Rate = (Cri - CriRes2) / 3
62 Rate = math.max(Rate, 0)
63 if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
64 return A * 1.5, CommonFun.DamageType.Crit
65 end
66 end
67 if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
68 return A * 1.5
69 end
70 return A
71end