
Arrow Shower
Shoots 4 waves of arrows to the target area, each wave dealing (Atk510%) Dmg to up to 8 enemy units.
Skill Levels
• Dark Snake Lord Summon a rain cloud to possess a specified enemy at long intervals.
•
• The Divine Avenger unfolds a defensive Barrier, granting Skill Dmg Reduc. (20% + 4%*【Divine Protection】team-up count) and Auto Attack Reduction to itself and Teammates within a 5-meter radius. The Barrier lasts for 30 seconds.
• Lay traps in specified areas, the enemy caught in the trap will be snared for 10 seconds (this effect cannot be removed by Panacea). At most 7 traps can be laid at the same time. The same target would not be snare within 1.5 seconds after the snare effect.
• Roll backward to dodge, retreat 8 meter(s), and leave a 【Dark Matter Trap】 at the position after rolling. This skill can be used continuously for 2 times.
• Shoots with all strength, Dealing (Atk500%) arrow Dmg to the target. In the next 10 sec, the target suffers 30% more damage from auto attacks dealt by archers
• Shoots a powerful arrow, dealing (Atk400%) Dmg to the target and knocking it back
• Lay traps in specified areas, the enemy caught in the trap will be snared for 10 seconds (this effect cannot be removed by Panacea). At most 7 traps can be laid at the same time. The same target would not be snare within 1.5 seconds after the snare effect.
Formula
1function CommonFun.calcDamage_4103(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 IgnoreDef = 0
9 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
10 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
11 if targetUser.boss or targetUser.mini then
12 IgnoreDef = IgnoreDef1
13 else
14 IgnoreDef = IgnoreDef1 + IgnoreDef2
15 end
16 if 1 <= IgnoreDef then
17 IgnoreDef = 1
18 end
19 local Refine = srcUser:GetProperty("Refine")
20 local AttrEffect = targetUser:GetProperty("AttrEffect")
21 local bits = CommonFun.getBits(AttrEffect)
22 local Def2 = targetUser:GetProperty("Def")
23 local DefPer2 = targetUser:GetProperty("DefPer")
24 local Vit2 = targetUser:GetProperty("Vit")
25 local VitPer2 = targetUser:GetProperty("VitPer")
26 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
27 local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
28 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
29 local damChangePer = damageParam.damChangePer
30 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
31 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
32 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
33 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
34 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
35 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
36 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
37 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
38 local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
39 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
40 local DefReduc = CommonFun.CalcDef(srcUser, targetUser, params)
41 local BaseLvDamage = 0
42 local IBaseLv = srcUser.BaseLv
43 if srcUser:HasBuffID(42130_FREE_ARCHER_:MAX_STACK_0) then
44 BaseLvDamage = IBaseLv * 15
45 end
46 local Num1 = srcUser:GetRunePoint(41001_AESIR_ARROW_SHOWER_DMG_5)
47 local Num2 = srcUser:GetRunePoint(41002_AESIR_ARROW_SHOWER_DMG_10)
48 local Num3 = srcUser:GetRunePoint(41003)
49 local Num4 = srcUser:GetRunePoint(41004)
50 local Num_srwn = srcUser:GetRunePoint(102006_AESIR_ARROW_SHOWER_DMG_5)
51 local RuneDamage = Num1 * 0.05 + Num2 * 0.1 + Num3 * 0.05 + Num4 * 0.05 + Num_srwn * 0.05 + 1
52 local Rate = 0
53 local Num1 = srcUser:GetRunePoint(41007_AESIR_RECEIVE_FIRE_EXPLOSION_WHEN_ARROWS_HAVE_A_FIRE_ATTRIBUTE_AND_RELEASE_ATTACKS_WITH_A_10_CHANCE_TO_TRIGGER_50_CRIT_DMG)
54 local SkillAttr = srcUser:GetCurSkillAtkAttr()
55 if SkillAttr == 4 and 0 < Num1 then
56 Rate = 10
57 end
58 local card1 = 1
59 local RefineLv1 = srcUser:GetEquipedRefineLv(7_WEAPON)
60 local CardNum = srcUser:GetEquipCardNum(7, 24053_RAIN_OF_ARROW_CARD)
61 if srcUser:HasBuffID(52410_RAIN_OF_ARROW_CARD_:MAX_STACK_0) then
62 card1 = RefineLv1 * 0.02 * CardNum + 1
63 end
64 if srcUser:HasBuffID(53350_DARK_ARCHER_CARD_:MAX_STACK_0) then
65 card1 = card1 + 0.1
66 end
67 local uniform = 1
68 local Ring1 = srcUser:GetEquipedID(2)
69 if Ring1 == 42083_ELEGANT_UNIFORM or Ring1 == 142083_ELEGANT_UNIFORM_1 then
70 uniform = 1.1
71 end
72 local RefineLv2 = srcUser:GetEquipedRefineLv(2)
73 if srcUser:HasBuffID(90002413_ELEGANT_UNIFORM_TIER_4_:MAX_STACK_0) and 5 < RefineLv2 then
74 uniform = (RefineLv2 - 5) * 0.01 + uniform
75 end
76 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
77 if equipRing.id == 42104 or equipRing.id == 142104 then
78 uniform = 1.1
79 end
80 if (equipRing.id == 42104 or equipRing.id == 142104) and 5 < equipRing.refinelv then
81 uniform = (equipRing.refinelv - 5) * 0.01 + uniform
82 end
83 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
84 if equipRingSD.id == 42104 or equipRingSD.id == 142104 then
85 uniform = 1 + 0.1 * equipRingSD.quench_per / 100
86 end
87 if (equipRingSD.id == 42104 or equipRingSD.id == 142104) and 5 < equipRingSD.refinelv then
88 uniform = (equipRingSD.refinelv - 5) * 0.01 * equipRingSD.quench_per / 100 + uniform
89 end
90 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * uniform + BaseLvDamage
91 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
92 if skillID == 1246_ASSASSIN:ARROW_STORM then
93 local skilllv_Arrow = srcUser:GetLernedSkillLevel(1246_ASSASSIN:ARROW_STORM)
94 local skilllv_Rain = srcUser:GetLernedSkillLevel(121_KNIGHT:ARROW_SHOWER)
95 local damChangePer = 0.75
96 if skilllv_Rain <= 10 then
97 damChangePer = 0.75 + (skilllv_Rain - 1) * 0.15
98 elseif 10 < skilllv_Rain then
99 damChangePer = 2.1 + (skilllv_Rain - 10) * 0.3
100 end
101 local GemValue = srcUser:GetGemValue(41062_ARROW_STORM_DMG_PERCENTAGE)
102 local GemDam = 1 + GemValue / 100000
103 local Fifth = 1
104 if srcUser:HasBuffID(90004244_BOW_OF_THE_WIND_CHASER_1_TIER_5_:MAX_STACK_0) and srcUser:HasBuffID(131080_UNLIMITED_STARS_:MAX_STACK_0) then
105 Fifth = Fifth + 0.15
106 end
107 A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * (skilllv_Arrow * 0.2 + 1.6) * GemDam * Fifth
108 end
109 if skillID == 1384_ASSASSIN_CROSS:RAGING_STORM or skillID == 1433_ASSASSIN_CROSS:RAGING_STORM or skillID == 72600_:RAGING_STORM then
110 local skilllv_wn = srcUser:GetLernedSkillLevel(1384_ASSASSIN_CROSS:RAGING_STORM)
111 local skilllv_sr = srcUser:GetLernedSkillLevel(1433_ASSASSIN_CROSS:RAGING_STORM)
112 local skill_all = skilllv_wn + skilllv_sr
113 local skilllv_Rain = srcUser:GetLernedSkillLevel(121_KNIGHT:ARROW_SHOWER)
114 local damChangePer = 0.75
115 if skilllv_Rain <= 10 then
116 damChangePer = 0.75 + (skilllv_Rain - 1) * 0.15
117 elseif 10 < skilllv_Rain then
118 damChangePer = 2.1 + (skilllv_Rain - 10) * 0.3
119 end
120 local rain_num = targetUser:GetBuffLayer(119092_RAGING_STORM_DAMAGE_MARK_:MAX_STACK_6)
121 damChangePer = damChangePer * (1 + math.max(rain_num - 1, 0) * 0.1)
122 local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
123 local beisi = 1
124 local Ring1 = srcUser:GetEquipedID(7_WEAPON)
125 if Ring1 == 63109_BASS_1 or Ring1 == 163109_BASS_2 or Ring1 == 62820_CHEMETI_WHIP_1 or Ring1 == 162820_CHEMETI_WHIP_2 then
126 beisi = 1 + RefineLv * 0.02
127 end
128 if Ring1 == 62844_SINKING_1 or Ring1 == 162844_SINKING_2 or Ring1 == 63144_LIRA_1 or Ring1 == 163144_LIRA_2 then
129 beisi = 1 + RefineLv * 0.02
130 end
131 local Num_kfby = srcUser:GetRunePoint(102040_AESIR_RAGING_STORM_DMG_6)
132 local GemValue1 = srcUser:GetGemValue(102001_RAGING_STORM_DMG_PERCENTAGE)
133 local GemValue2 = srcUser:GetGemValue(112001_RAGING_STORM_DMG_PERCENTAGE)
134 local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
135 A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1 * uniform * (skill_all * 0.05 + 1) * beisi * (1 + Num_kfby * 0.06) * GemDam
136 end
137 if A <= 1 then
138 return 1
139 end
140 if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
141 return A * 1.5, CommonFun.DamageType.Crit
142 end
143 return A
144end