
Magnus Exorcismus
Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 2000% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
Aesir Effects
Skill Levels
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1900% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1800% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1700% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1600% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1500% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1400% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1300% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1200% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1100% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 1000% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 900% Holy M.Dmg; the skill takes effect 7 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 800% Holy M.Dmg; the skill takes effect 6 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 700% Holy M.Dmg; the skill takes effect 6 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 600% Holy M.Dmg; the skill takes effect 5 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 500% Holy M.Dmg; the skill takes effect 5 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 400% Holy M.Dmg; the skill takes effect 4 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 300% Holy M.Dmg; the skill takes effect 4 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 200% Holy M.Dmg; the skill takes effect 3 times, the damage takes effect every 1 seconds
• Form a cross-shaped zone in specified areas, Undead and devil monsters in this zone will suffer 100% Holy M.Dmg; the skill takes effect 3 times, the damage takes effect every 1 seconds
Formula
1function CommonFun.calcDamage_5103(srcUser, targetUser, params, damageParam, logger)
2 local Int = srcUser:GetProperty("Int")
3 local Vit = srcUser:GetProperty("Vit")
4 local MAtk = srcUser:GetProperty("MAtk")
5 local MAtkPer = srcUser:GetProperty("MAtkPer")
6 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
7 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
8 if 1 <= IgnoreMDef then
9 IgnoreMDef = 1
10 end
11 local MRefine = srcUser:GetProperty("MRefine")
12 local enemy = srcUser:IsEnemy(targetUser)
13 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
14 local targetDefElement = targetUser:GetProperty("DefAttr")
15 local ElementRate = CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam)
16 if srcAtkElement == 6 and targetDefElement == 7 then
17 local GemValue = srcUser:GetGemValue(51022_HOLY_STAT_S_RESISTANCE_EFFECT_AGAINST_DARK_STAT_PERCENTAGE)
18 ElementRate = ElementRate + GemValue / 100000
19 end
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 race2 = targetUser.race
29 if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
30 race2 = 3
31 end
32 if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
33 elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
34 race2 = 2
35 end
36 local DefAttr2 = targetUser:GetProperty("DefAttr")
37 local AttrEffect = srcUser:GetProperty("AttrEffect2")
38 local bits = CommonFun.getBits(AttrEffect)
39 local damChangePer = damageParam.damChangePer
40 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
41 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
42 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
43 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
44 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
45 local BaseMAtk = Int + math.floor(Int * Int / 100)
46 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
47 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
48 local BaseLvDamage = 0
49 local IBaseLv = srcUser.BaseLv
50 if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
51 BaseLvDamage = IBaseLv * 20
52 end
53 local Num1 = srcUser:GetRunePoint(52037_AESIR_SKILL_MULTIPLIER_OF_MAGNUS_EXORCISMUS_30)
54 local RuneDamage = Num1 * 0.3
55 local qumo = 1
56 if bits[CommonFun.AttrEffect2.Shiziqumo] == 1 then
57 qumo = 1.2
58 end
59 local weaponRefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
60 if srcUser:HasBuffID(90001413_NEMESIS_TIER_4_:MAX_STACK_0) then
61 qumo = weaponRefineLv * 0.01 + qumo
62 end
63 if srcUser:HasBuffID(41980_O_NEILL_S_STAFF_:MAX_STACK_0) then
64 qumo = weaponRefineLv * 0.01 + qumo
65 end
66 local weaponRefineLv2 = srcUser:GetEquipedRefineLv(1)
67 if srcUser:HasBuffID(90001423_EXORCISM_BIBLE_TIER_4_:MAX_STACK_0) then
68 qumo = weaponRefineLv2 * 0.01 + qumo
69 end
70 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
71 if equipRing.id == 42582 or equipRing.id == 142582 then
72 qumo = equipRing.refinelv * 0.01 + qumo
73 end
74 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
75 if equipRingSD.id == 42582 or equipRingSD.id == 142582 then
76 qumo = equipRingSD.refinelv * 0.01 * equipRingSD.quench_per / 100 + qumo
77 end
78 if srcUser:HasBuffID(90004454_O_NEILL_S_STAFF_1_TIER_5_:MAX_STACK_0) then
79 qumo = qumo + 0.1
80 end
81 local skilllv_1 = srcUser:GetLernedSkillLevel(160_KNIGHT:TURN_UNDEAD)
82 local SkillPer = 0
83 if 10 < skilllv_1 then
84 SkillPer = (skilllv_1 - 10) * 0.1
85 end
86 local GemValue1 = srcUser:GetGemValue(51092_MAGNUS_EXORCISMUS_DMG_PERCENTAGE)
87 local GemDam = 1 + GemValue1 / 100000
88 local RangeDam = srcUser:GetProperty("RangeDam")
89 local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * (damChangePer + RuneDamage + SkillPer) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + MDamIncrease) * ElementRate * elementparam2 * qumo * GemDam * (1 + RangeDam) + BaseLvDamage
90 if srcUser:HasBuffID(90004454_O_NEILL_S_STAFF_1_TIER_5_:MAX_STACK_0) then
91 local qumo_num = targetUser:GetBuffLayer(90004456_CROSS_EXORCISM_DAMAGE_MARK_:MAX_STACK_7)
92 A = A * (1 + math.max(qumo_num - 1, 0) * 0.1)
93 end
94 if A <= 1 then
95 return 1
96 end
97 local Num2 = srcUser:GetRunePoint(52030_AESIR_CAST_DELAY_OF_MAGNUS_EXORCISMUS_0_2_SECONDS_DEAL_25_SKILL_DAMAGE_TO_ALL_RACES)
98 local GemValue = srcUser:GetGemValue(51091_DMG_DEALT_ON_ALL_NON_DESIGNATED_OTHER_RACES_FROM_MAGNUS_EXORCISMUS_PERCENTAGE)
99 if race2 == 3 or DefAttr2 == 9 or race2 == 2 and srcUser:GetBuffActive(90003444) then
100 return A
101 elseif 0 < Num2 or 0 < GemValue then
102 return A * (Num2 * 0.25 + GemValue / 100000)
103 else
104 return 0, 0
105 end
106end