
Grand Cross
Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x750% and Holy M.Dmg: M.Atk x750%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
Aesir Effects
Skill Levels
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x690% and Holy M.Dmg: M.Atk x690%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x630% and Holy M.Dmg: M.Atk x630%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x570% and Holy M.Dmg: M.Atk x570%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x510% and Holy M.Dmg: M.Atk x510%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x450% and Holy M.Dmg: M.Atk x450%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x390% and Holy M.Dmg: M.Atk x390%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x330% and Holy M.Dmg: M.Atk x330%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x270% and Holy M.Dmg: M.Atk x270%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
• Summons a cross zone centered on yourself, judging at most 6 enemy targets in the range, dealing Holy damage: Atk x210% and Holy M.Dmg: M.Atk x210%, but yourself will be injured. This skill ignores the target's Flee and is not influenced by damage reflection shield
Formula
1function CommonFun.calcDamage_1205(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 DamIncrease = srcUser:GetProperty("DamIncrease")
8 local Luk = srcUser:GetProperty("Luk")
9 local Int = srcUser:GetProperty("Int")
10 local Vit = srcUser:GetProperty("Vit")
11 local MAtk = srcUser:GetProperty("MAtk")
12 local MAtkPer = srcUser:GetProperty("MAtkPer")
13 local IgnoreDef = 0
14 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
15 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
16 if targetUser.boss or targetUser.mini then
17 IgnoreDef = IgnoreDef1
18 else
19 IgnoreDef = IgnoreDef1 + IgnoreDef2
20 end
21 if 1 <= IgnoreDef then
22 IgnoreDef = 1
23 end
24 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
25 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
26 if 1 <= IgnoreMDef then
27 IgnoreMDef = 1
28 end
29 local Refine = srcUser:GetProperty("Refine")
30 local MRefine = srcUser:GetProperty("MRefine")
31 local Def2 = targetUser:GetProperty("Def")
32 local DefPer2 = targetUser:GetProperty("DefPer")
33 local Vit2 = targetUser:GetProperty("Vit")
34 local VitPer2 = targetUser:GetProperty("VitPer")
35 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
36 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
37 local MDef2 = targetUser:GetProperty("MDef")
38 local MDefPer2 = targetUser:GetProperty("MDefPer")
39 local Vit2 = targetUser:GetProperty("Vit")
40 local VitPer2 = targetUser:GetProperty("VitPer")
41 local Int2 = targetUser:GetProperty("Int")
42 local IntPer2 = targetUser:GetProperty("IntPer")
43 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
44 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
45 local damChangePer = damageParam.damChangePer
46 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
47 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
48 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
49 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
50 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
51 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
52 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
53 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
54 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
55 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
56 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
57 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
58 local skilllv_1 = srcUser:GetLernedSkillLevel(362_RUNE_KNIGHT:PROVIDENCE)
59 local Skilldamage = skilllv_1 * 0.3
60 local EquipDamage = 0
61 local RefineDamage = 0
62 local RefineLv = srcUser:GetEquipedRefineLv(1)
63 if srcUser:HasBuffID(40400_SHIELD_OF_NAGA_:MAX_STACK_0) then
64 EquipDamage = 2
65 RefineDamage = 0.3 * RefineLv
66 end
67 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
68 if equipRing.id == 42583 or equipRing.id == 142583 then
69 EquipDamage = 2
70 RefineDamage = 0.3 * equipRing.refinelv
71 end
72 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
73 if equipRingSD.id == 42583 or equipRingSD.id == 142583 then
74 EquipDamage = 2
75 RefineDamage = 0.3 * equipRingSD.refinelv * equipRingSD.quench_per / 100
76 end
77 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + Skilldamage + EquipDamage + RefineDamage) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
78 if srcUser:HasBuffID(90000965_STAUNCH_ARMOR_TIER_6_:MAX_STACK_0) then
79 A = A * 1.1
80 end
81 if srcUser:HasBuffID(90000969_STAUNCH_ARMOR_TIER_10_:MAX_STACK_0) then
82 A = A * 1.2 / 1.1
83 end
84 local equipRingarmour = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
85 if equipRingarmour.id == 42088 or equipRingarmour.id == 142088 then
86 A = A * 1.2
87 end
88 local equipRingSDarmour = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
89 if equipRingSDarmour.id == 42088 or equipRingSDarmour.id == 142088 then
90 A = A * (1 + 0.2 * equipRingSDarmour.quench_per / 100)
91 end
92 if A <= 1 then
93 A = 1
94 end
95 local srcAtkElement = 6
96 local targetDefElement = targetUser:GetProperty("DefAttr")
97 local BaseMAtk = Int + math.floor(Int * Int / 100)
98 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam
99 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
100 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)
101 if B <= 1 then
102 B = 1
103 end
104 local Num1 = srcUser:GetRunePoint(70140_AESIR_DAMAGE_OF_GRAND_CROSS_10)
105 local RuneDamage = 1 + 0.1 * Num1
106 local GemValue = srcUser:GetGemValue(72082_GRAND_CROSS_DMG_PERCENTAGE)
107 local GemDam = 1 + GemValue / 100000
108 local C = (A + B) * RuneDamage * GemDam
109 if srcUser:HasBuffID(40380_SPEARFISH_PIKE_:MAX_STACK_0) and srcUser:HasBuffID(40400_SHIELD_OF_NAGA_:MAX_STACK_0) then
110 C = (A + B) * RuneDamage * 1.5 * GemDam
111 end
112 if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffID(40400_SHIELD_OF_NAGA_:MAX_STACK_0) then
113 C = (A + B) * RuneDamage * 1.5 * GemDam
114 end
115 if srcUser:HasBuffID(40380_SPEARFISH_PIKE_:MAX_STACK_0) and srcUser:HasBuffID(43300_DRAGON_FLAME_SHIELD_:MAX_STACK_0) then
116 C = (A + B) * RuneDamage * 1.5 * GemDam
117 end
118 if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffID(43300_DRAGON_FLAME_SHIELD_:MAX_STACK_0) then
119 C = (A + B) * RuneDamage * 1.5 * GemDam
120 end
121 if equipRingSD.id ~= 0 then
122 if srcUser:HasBuffID(40380_SPEARFISH_PIKE_:MAX_STACK_0) and srcUser:HasBuffLayer(43300, EBUFFERLAYER_SHADOW) then
123 C = (A + B) * RuneDamage * 1.5 * GemDam
124 end
125 if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffLayer(43300, EBUFFERLAYER_SHADOW) then
126 C = (A + B) * RuneDamage * 1.5 * GemDam
127 end
128 end
129 return C
130end