
Soul Expansion
Attack an enemy from afar with ghost power, dealing M.Atk * 1340% ghost damage. Deals double damage if target is caught by White Imprison
Skill Levels
• Attack an enemy from afar with ghost power, dealing M.Atk * 1280% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 1220% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 1160% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 1100% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 1040% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 980% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 920% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 860% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 800% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 740% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 680% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 620% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 560% ghost damage. Deals double damage if target is caught by White Imprison
• Attack an enemy from afar with ghost power, dealing M.Atk * 500% ghost damage. Deals double damage if target is caught by White Imprison
Formula
1function CommonFun.calcDamage_2303(srcUser, targetUser, params, damageParam, logger)
2 local Luk = srcUser:GetProperty("Luk")
3 local Int = srcUser:GetProperty("Int")
4 local Vit = srcUser:GetProperty("Vit")
5 local MAtk = srcUser:GetProperty("MAtk")
6 local MAtkPer = srcUser:GetProperty("MAtkPer")
7 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
8 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
9 if 1 <= IgnoreMDef then
10 IgnoreMDef = 1
11 end
12 local MRefine = srcUser:GetProperty("MRefine")
13 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
14 local targetDefElement = targetUser:GetProperty("DefAttr")
15 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
16 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
17 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
18 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
19 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
20 local MDef2 = targetUser:GetProperty("MDef")
21 local MDefPer2 = targetUser:GetProperty("MDefPer")
22 local Vit2 = targetUser:GetProperty("Vit")
23 local VitPer2 = targetUser:GetProperty("VitPer")
24 local Int2 = targetUser:GetProperty("Int")
25 local IntPer2 = targetUser:GetProperty("IntPer")
26 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
27 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
28 local damChangePer = damageParam.damChangePer
29 local BaseMAtk = Int + math.floor(Int * Int / 100)
30 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
31 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
32 local Num1 = srcUser:GetRunePoint(24040_AESIR_SOUL_EXPANSION_DAMAGE_5)
33 local RuneDamage = 1 + Num1 * 0.05
34 local card = 1
35 if srcUser:HasBuffID(52550_HARPY_CARD_:MAX_STACK_0) then
36 card = 1.1
37 end
38 local GemValue = srcUser:GetGemValue(21131_SOUL_EXPANSION_DAMAGE_PERCENTAGE)
39 local GemValue_jy = srcUser:GetGemValue(21132_ADDITIONAL_SOUL_EXPANSION_DAMAGE_AGAINST_TARGETS_IN_WHITE_IMPRISON_STATUS_PERCENTAGE)
40 local GemDam = 1 + GemValue / 100000
41 if srcUser:HasBuffID(20210130_SOUL_EXPANSION_IGNORES_THE_ENEMY_S_M_DEF_:MAX_STACK_0) then
42 MDefReduc = 1
43 end
44 local Ghost = 1
45 local skilllv_qn = srcUser:GetLernedSkillLevel(3110_WHITESMITH:STRONG_WILL_TRANSMISSION)
46 if srcUser:HasBuffID(125130_STRONG_WILL_TRANSMISSION_:MAX_STACK_0) then
47 Ghost = 1 + skilllv_qn * 0.06
48 end
49 local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * card * RuneDamage * GemDam * Ghost
50 if targetUser:HasBuffID(116810_WHITE_IMPRISON_SNARE_:MAX_STACK_0) then
51 A = A * (2 + GemValue_jy / 100000)
52 end
53 if A <= 1 then
54 return 1
55 end
56 return A
57end