
Raid
In a hiding state, Caster deals 300% Dmg to all enemies in range, with a 15% chance to inflict snared, Stunned and Darkness on enemy units. Enemy targets hit by Raid will suffer 15% more damage for the next 5 seconds. Daggers must be equipped to use this skill.
Aesir Effects
Skill Levels
• In a hiding state, Caster deals 270% Dmg to all enemies in range, with a 13% chance to inflict snared, Stunned and Darkness on enemy units. Enemy targets hit by Raid will suffer 14% more damage for the next 5 seconds. Daggers must be equipped to use this skill.
• In a hiding state, Caster deals 240% Dmg to all enemies in range, with a 11% chance to inflict snared, Stunned and Darkness on enemy units. Enemy targets hit by Raid will suffer 13% more damage for the next 5 seconds. Daggers must be equipped to use this skill.
• In a hiding state, Caster deals 210% Dmg to all enemies in range, with a 9% chance to inflict snared, Stunned and Darkness on enemy units. Enemy targets hit by Raid will suffer 12% more damage for the next 5 seconds. Daggers must be equipped to use this skill.
• In a hiding state, Caster deals 180% Dmg to all enemies in range, with a 7% chance to inflict snared, Stunned and Darkness on enemy units. Enemy targets hit by Raid will suffer 11% more damage for the next 5 seconds. Daggers must be equipped to use this skill.
Formula
1function CommonFun.calcDamage_9204(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 Def2 = targetUser:GetProperty("Def")
21 local DefPer2 = targetUser:GetProperty("DefPer")
22 local Vit2 = targetUser:GetProperty("Vit")
23 local VitPer2 = targetUser:GetProperty("VitPer")
24 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
25 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
26 local Hp2 = targetUser:GetProperty("Hp")
27 local MaxHp2 = targetUser:GetProperty("MaxHp")
28 local damChangePer = damageParam.damChangePer
29 local AttrEffect = srcUser:GetProperty("AttrEffect")
30 local bits = CommonFun.getBits(AttrEffect)
31 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
32 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
33 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
34 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
35 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
36 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
37 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
38 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
39 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
40 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
41 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
42 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
43 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
44 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
45 if skillID == 481_RUNEMASTER:RAID then
46 local Num1 = srcUser:GetRunePoint(90060_AESIR_DAMAGE_OF_RAID_20)
47 local RuneDamage1 = Num1 * 0.2 + 1
48 A = A * RuneDamage1
49 end
50 if skillID == 483_RUNEMASTER:INTIMIDATE then
51 local Num2 = srcUser:GetRunePoint(90100_AESIR_DAMAGE_OF_INTIMIDATE_10)
52 local RuneDamage2 = Num2 * 0.1 + 1
53 A = A * RuneDamage2
54 end
55 if skillID == 487_RUNEMASTER:DISABLING_STRIKE and srcUser:HasBuffID(40672_CALDER_DAGGER_1_:MAX_STACK_0) then
56 A = A * 1.5
57 end
58 if A <= 1 then
59 return 1
60 end
61 if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
62 return A * 1.5
63 end
64 return A
65end