
Holy Cross
Attacks the target with the power of the holy cross, dealing Atk×900% holy Dmg +M.Atk×900% holy M.Dmg to an enemy. Has a 60% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
Aesir Effects
Skill Levels
• Attacks the target with the power of the holy cross, dealing Atk×870% holy Dmg +M.Atk×870% holy M.Dmg to an enemy. Has a 57% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×840% holy Dmg +M.Atk×840% holy M.Dmg to an enemy. Has a 54% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×810% holy Dmg +M.Atk×810% holy M.Dmg to an enemy. Has a 51% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×780% holy Dmg +M.Atk×780% holy M.Dmg to an enemy. Has a 48% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×750% holy Dmg +M.Atk×750% holy M.Dmg to an enemy. Has a 45% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×720% holy Dmg +M.Atk×720% holy M.Dmg to an enemy. Has a 42% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×690% holy Dmg +M.Atk×690% holy M.Dmg to an enemy. Has a 39% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×660% holy Dmg +M.Atk×660% holy M.Dmg to an enemy. Has a 36% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×630% holy Dmg +M.Atk×630% holy M.Dmg to an enemy. Has a 33% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×600% holy Dmg +M.Atk×600% holy M.Dmg to an enemy. Has a 30% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×570% holy Dmg +M.Atk×570% holy M.Dmg to an enemy. Has a 27% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×540% holy Dmg +M.Atk×540% holy M.Dmg to an enemy. Has a 24% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×510% holy Dmg +M.Atk×510% holy M.Dmg to an enemy. Has a 21% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×480% holy Dmg +M.Atk×480% holy M.Dmg to an enemy. Has a 18% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×450% holy Dmg +M.Atk×450% holy M.Dmg to an enemy. Has a 15% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×420% holy Dmg +M.Atk×420% holy M.Dmg to an enemy. Has a 12% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×390% holy Dmg +M.Atk×390% holy M.Dmg to an enemy. Has a 9% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×360% holy Dmg +M.Atk×360% holy M.Dmg to an enemy. Has a 6% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
• Attacks the target with the power of the holy cross, dealing Atk×330% holy Dmg +M.Atk×330% holy M.Dmg to an enemy. Has a 3% chance to blind the target for 10 sec. Deals half damage when equipped with non-spear weapon
Formula
1function CommonFun.calcDamage_7201(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 Int = srcUser:GetProperty("Int")
6 local Atk = srcUser:GetProperty("Atk")
7 local AtkPer = srcUser:GetProperty("AtkPer")
8 local DamIncrease = srcUser:GetProperty("DamIncrease")
9 local MAtk = srcUser:GetProperty("MAtk")
10 local MAtkPer = srcUser:GetProperty("MAtkPer")
11 local IgnoreDef = 0
12 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
13 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
14 local WeaponType = srcUser:GetEquipedWeaponType()
15 if targetUser.boss or targetUser.mini then
16 IgnoreDef = IgnoreDef1
17 else
18 IgnoreDef = IgnoreDef1 + IgnoreDef2
19 end
20 if 1 <= IgnoreDef then
21 IgnoreDef = 1
22 end
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 MRefine = srcUser:GetProperty("MRefine")
31 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
32 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
33 if 1 <= IgnoreMDef then
34 IgnoreMDef = 1
35 end
36 local MDef2 = targetUser:GetProperty("MDef")
37 local MDefPer2 = targetUser:GetProperty("MDefPer")
38 local Vit2 = targetUser:GetProperty("Vit")
39 local VitPer2 = targetUser:GetProperty("VitPer")
40 local Int2 = targetUser:GetProperty("Int")
41 local IntPer2 = targetUser:GetProperty("IntPer")
42 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
43 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
44 local damChangePer = damageParam.damChangePer
45 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
46 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
47 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
48 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
49 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
50 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
51 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
52 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
53 local Num1 = srcUser:GetRunePoint(70020_AESIR_HOLY_CROSS_DMG_10)
54 local RuneDamage = 1 + 0.1 * Num1
55 local skilllv_1 = srcUser:GetLernedSkillLevel(362_RUNE_KNIGHT:PROVIDENCE)
56 local Skilldamage = skilllv_1 * 0.2
57 local EquipDamage = 0
58 local RefineDamage = 0
59 local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
60 if srcUser:HasBuffID(40380_SPEARFISH_PIKE_:MAX_STACK_0) then
61 EquipDamage = 1
62 RefineDamage = 0.3 * RefineLv
63 end
64 local EquipDamage_1 = 0
65 if srcUser:HasBuffID(90001253_SPEARFISH_PIKE_TIER_4_:MAX_STACK_0) then
66 EquipDamage_1 = 0.5
67 end
68 if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) then
69 EquipDamage = EquipDamage + 1.5
70 RefineDamage = RefineDamage + 0.3 * RefineLv
71 end
72 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
73 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
74 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
75 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
76 local BaseLvDamage = 0
77 local IBaseLv = srcUser.BaseLv
78 if srcUser:HasBuffID(42190_SILVER_GLAIVE_:MAX_STACK_0) then
79 BaseLvDamage = IBaseLv * 20
80 end
81 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + Skilldamage + EquipDamage + RefineDamage + EquipDamage_1) * (1 + DamIncrease - ShortRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)
82 if A <= 1 then
83 A = 1
84 end
85 local srcAtkElement = 6
86 local targetDefElement = targetUser:GetProperty("DefAttr")
87 local BaseMAtk = Int + math.floor(Int * Int / 100)
88 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam
89 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
90 local B = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (damChangePer + Skilldamage + EquipDamage + RefineDamage) * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)
91 if B <= 1 then
92 B = 1
93 end
94 local C = (A + B) * RuneDamage + BaseLvDamage
95 local WeaponType = srcUser:GetEquipedWeaponType()
96 if WeaponType ~= 170 then
97 C = C * 0.5
98 end
99 return C
100end