
Holy Light Strike
Attacks an enemy with holy light, dealing (M.Atk600%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
Skill Levels
• Attacks an enemy with holy light, dealing (M.Atk550%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk500%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk450%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk400%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk350%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk300%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk250%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk200%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
• Attacks an enemy with holy light, dealing (M.Atk150%) holy M.Dmg and some real M.Dmg. It also expels Kyrie Eleison
Formula
1function CommonFun.calcDamage_33(srcUser, targetUser, params, damageParam, logger)
2 local Int = srcUser:GetProperty("Int")
3 local Vit = srcUser:GetProperty("Vit")
4 local Luk = srcUser:GetProperty("Luk")
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 skilllv_1 = srcUser:GetLernedSkillLevel(235_LORD_KNIGHT:HOLY_BOOSTER)
14 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
15 local targetDefElement = targetUser:GetProperty("DefAttr")
16 local ElementRate = CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam)
17 if srcAtkElement == 6 and targetDefElement == 7 then
18 local GemValue = srcUser:GetGemValue(51022_HOLY_STAT_S_RESISTANCE_EFFECT_AGAINST_DARK_STAT_PERCENTAGE)
19 ElementRate = ElementRate + GemValue / 100000
20 end
21 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
22 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
23 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
24 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
25 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
26 local MDef2 = targetUser:GetProperty("MDef")
27 local MDefPer2 = targetUser:GetProperty("MDefPer")
28 local Vit2 = targetUser:GetProperty("Vit")
29 local VitPer2 = targetUser:GetProperty("VitPer")
30 local Int2 = targetUser:GetProperty("Int")
31 local IntPer2 = targetUser:GetProperty("IntPer")
32 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
33 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
34 local damChangePer = damageParam.damChangePer
35 local damChangePer1 = damageParam.damChangePer1
36 local BaseMAtk = Int + math.floor(Int * Int / 100)
37 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
38 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
39 local BaseLvDamage = 0
40 local IBaseLv = srcUser.BaseLv
41 if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
42 BaseLvDamage = IBaseLv * 20
43 end
44 local Weapon = srcUser:GetEquipedID(7_WEAPON)
45 local B = 0
46 if Weapon == 41521_NEMESIS_1 or Weapon == 141521_NEMESIS_2 or Weapon == 41568_O_NEILL_S_STAFF_1 or Weapon == 141568_O_NEILL_S_STAFF_2 then
47 B = Luk * 50
48 end
49 local WeaponRefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
50 if (srcUser:HasBuffID(90001413_NEMESIS_TIER_4_:MAX_STACK_0) or srcUser:HasBuffID(41980_O_NEILL_S_STAFF_:MAX_STACK_0)) and 10 <= WeaponRefineLv then
51 B = B * 2
52 end
53 local A = (((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer + B * MDefReduc * (1 - MDamReduc2) * (1 - RefineMDamReduc)) * (1 + MDamIncrease) * ElementRate * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + damChangePer1) * (1 + skilllv_1 * 0.1) + BaseLvDamage
54 if A <= 1 then
55 return 1
56 end
57 return A
58end