
Shadow Clone
Phantom Dancer moves forward for 4 meters and enters Hidden for 1 second. If you have learned [Light and Shadow], a Night Shadow can be generated.
Skill Levels
• Phantom Dancer moves forward for 3.5 meters and enters Hidden for 1 second. If you have learned [Light and Shadow], a Night Shadow can be generated.
• Phantom Dancer moves forward for 3 meters and enters Hidden for 1 second. If you have learned [Light and Shadow], a Night Shadow can be generated.
• Phantom Dancer moves forward for 2.5 meters and enters Hidden for 1 second. If you have learned [Light and Shadow], a Night Shadow can be generated.
• Phantom Dancer moves forward for 2 meters and enters Hidden for 1 second. If you have learned [Light and Shadow], a Night Shadow can be generated.
Formula
1function CommonFun.calcBuff_6380(srcUser, targetUser, a, b, c, d, lv)
2 if srcUser == nil or targetUser == nil then
3 return 0
4 end
5 local Atk = srcUser:GetProperty("Atk")
6 local AtkPer = srcUser:GetProperty("AtkPer")
7 local MAtk = srcUser:GetProperty("MAtk")
8 local MAtkPer = srcUser:GetProperty("MAtkPer")
9 local Refine = srcUser:GetProperty("Refine")
10 local MRefine = srcUser:GetProperty("MRefine")
11 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
12 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
13 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
14 local DamIncrease = srcUser:GetProperty("DamIncrease")
15 local skilllv = srcUser:GetLernedSkillLevel(a)
16 local A = -(Atk * (1 + AtkPer) * DefReduc * (1 - DamReduc2)) * (skilllv * b + c) * (1 - RefineDamReduc) * (1 + DamIncrease)
17 local AttrFunction = srcUser:GetProperty("AttrFunction")
18 local bitfunc = CommonFun.getBits(AttrFunction)
19 if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
20 A = 0
21 end
22 if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
23 A = 0
24 end
25 if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
26 A = 0
27 end
28 if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
29 A = -1
30 end
31 if targetUser:DamageAlways1() then
32 A = -1
33 end
34 return A
35end