
Deadly Shadow
Channeling skill that deals 7 slashes to the target and random enemies within a 5-meter radius, each causing physical damage equal to normal attack *400% and can critically strike. The Nameless will synchronize the release of slashes for each illusion, adding 7 additional slash counts; enemies hit by slashes will be fixed in place and unable to move. During the skill channeling, The Nameless and illusions are in an invincible state, and this skill does not produce illusions; Cooldown Time is fixed and cannot be reduced.
Skill Levels
• Channeling skill that deals 7 slashes to the target and random enemies within a 5-meter radius, each causing physical damage equal to normal attack *360% and can critically strike. The Nameless will synchronize the release of slashes for each illusion, adding 7 additional slash counts; enemies hit by slashes will be fixed in place and unable to move. During the skill channeling, The Nameless and illusions are in an invincible state, and this skill does not produce illusions; Cooldown Time is fixed and cannot be reduced.
• Channeling skill that deals 7 slashes to the target and random enemies within a 5-meter radius, each causing physical damage equal to normal attack *320% and can critically strike. The Nameless will synchronize the release of slashes for each illusion, adding 7 additional slash counts; enemies hit by slashes will be fixed in place and unable to move. During the skill channeling, The Nameless and illusions are in an invincible state, and this skill does not produce illusions; Cooldown Time is fixed and cannot be reduced.
• Channeling skill that deals 7 slashes to the target and random enemies within a 5-meter radius, each causing physical damage equal to normal attack *280% and can critically strike. The Nameless will synchronize the release of slashes for each illusion, adding 7 additional slash counts; enemies hit by slashes will be fixed in place and unable to move. During the skill channeling, The Nameless and illusions are in an invincible state, and this skill does not produce illusions; Cooldown Time is fixed and cannot be reduced.
• Channeling skill that deals 7 slashes to the target and random enemies within a 5-meter radius, each causing physical damage equal to normal attack *240% and can critically strike. The Nameless will synchronize the release of slashes for each illusion, adding 7 additional slash counts; enemies hit by slashes will be fixed in place and unable to move. During the skill channeling, The Nameless and illusions are in an invincible state, and this skill does not produce illusions; Cooldown Time is fixed and cannot be reduced.
Formula
1function CommonFun.calcDamage_78501(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 NormalAtk = srcUser:GetProperty("NormalAtk")
8 NormalAtk = NormalAtk + 5 * Str
9 local DamIncrease = srcUser:GetProperty("DamIncrease")
10 local IgnoreDef = 0
11 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
12 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
13 if targetUser.boss or targetUser.mini then
14 IgnoreDef = IgnoreDef1
15 else
16 IgnoreDef = IgnoreDef1 + IgnoreDef2
17 end
18 if 1 <= IgnoreDef then
19 IgnoreDef = 1
20 end
21 local WeaponType = srcUser:GetEquipedWeaponType()
22 local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
23 local Refine = srcUser:GetProperty("Refine")
24 local Def2 = targetUser:GetProperty("Def")
25 local DefPer2 = targetUser:GetProperty("DefPer")
26 local Vit2 = targetUser:GetProperty("Vit")
27 local VitPer2 = targetUser:GetProperty("VitPer")
28 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
29 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
30 local AttrEffect2 = srcUser:GetProperty("AttrEffect")
31 local bits2 = CommonFun.getBits(AttrEffect2)
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 + NormalAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
42 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
43 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
44 local damChangePer = damageParam.damChangePer
45 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (1 - RefineDamReduc) * damChangePer * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
46 local Buff = srcUser:HasBuffID(24441_BAZERALD_:MAX_STACK_0)
47 local huali = 1
48 if Buff == true and srcUser:HasBuffID(90001903_BAZERALD_TIER_4_:MAX_STACK_0) then
49 huali = 1.25
50 elseif Buff == true then
51 huali = 1.1
52 end
53 if A <= 1 then
54 return 1
55 end
56 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
57 local GemValue = srcUser:GetGemValue(218111_SONIC_ASSAULT_DMG_PERCENTAGE)
58 if skillID == 4733_SHADOW_CHASER:SONIC_ASSAULT_SHADOW_CHASER:SONIC_ASSAULT then
59 local skill_yinsu = srcUser:GetLernedSkillLevel(4733_SHADOW_CHASER:SONIC_ASSAULT)
60 local Master = srcUser:GetMasterUser()
61 if Master ~= nil then
62 skill_yinsu = Master:GetLernedSkillLevel(4733_SHADOW_CHASER:SONIC_ASSAULT)
63 GemValue = Master:GetGemValue(218111_SONIC_ASSAULT_DMG_PERCENTAGE)
64 end
65 A = A * 7 * (skill_yinsu * 0.1 - 0.03) * (1 + GemValue / 100000)
66 end
67 local GemValue1 = srcUser:GetGemValue(218121_DMG_OF_DEADLY_SHADOW_S_FIRST_SLASH_TO_EACH_TARGET_PERCENTAGE)
68 if skillID == 4737_SHADOW_CHASER:DEADLY_SHADOW_SHADOW_CHASER:DEADLY_SHADOW and targetUser:HasBuffID(140143_DEADLY_SHADOW_MARK_:MAX_STACK_0) == false then
69 A = A * (1 + GemValue1 / 100000)
70 end
71 if skillID == 4737_SHADOW_CHASER:DEADLY_SHADOW_SHADOW_CHASER:DEADLY_SHADOW or skillID == 4733_SHADOW_CHASER:SONIC_ASSAULT_SHADOW_CHASER:SONIC_ASSAULT then
72 local SkillDam = srcUser:GetProperty("SkillDam")
73 local Master = srcUser:GetMasterUser()
74 local wudang = 0
75 if Master ~= nil and Master:HasBuffID(90006174_THE_NAMELESS_EQUIPMENT_USES_INFUSE_SHORT_SWORD_1_TIER_5_:MAX_STACK_0) then
76 wudang = 1
77 end
78 if srcUser:HasBuffID(90006174_THE_NAMELESS_EQUIPMENT_USES_INFUSE_SHORT_SWORD_1_TIER_5_:MAX_STACK_0) then
79 wudang = 1
80 end
81 A = A * (1 + wudang * SkillDam)
82 end
83 return A * huali
84end