
Dark Illusion
Lv 5AttackPhysical
Quickly approaches an enemy and deals 350% Atk damage to it with a 70% chance to perform [Cross Impact] Lv.5
CD: 5 sec
Range: 8
Skill Levels
Lvl: 4
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
SP: 38
Range: 7
• Quickly approaches an enemy and deals 300% Atk damage to it with a 60% chance to perform [Cross Impact] Lv.5
Lvl: 3
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
SP: 36
Range: 6
• Quickly approaches an enemy and deals 250% Atk damage to it with a 50% chance to perform [Cross Impact] Lv.5
Lvl: 2
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
SP: 34
Range: 5
• Quickly approaches an enemy and deals 200% Atk damage to it with a 40% chance to perform [Cross Impact] Lv.5
Lvl: 1
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
SP: 32
Range: 4
• Quickly approaches an enemy and deals 150% Atk damage to it with a 30% chance to perform [Cross Impact] Lv.5
Formula
1function CommonFun.calcDamage_3401(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 WeaponType = srcUser:GetEquipedWeaponType()
20 local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
21 local Refine = srcUser:GetProperty("Refine")
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 RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
28 local AttrEffect2 = srcUser:GetProperty("AttrEffect")
29 local bits2 = CommonFun.getBits(AttrEffect2)
30 local damChangePer = damageParam.damChangePer
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 == 1104_ARCANE_MASTER:ROLLING_CUTTER then
46 local Num1 = srcUser:GetRunePoint(34010_AESIR_ROLLING_CUTTER_S_DAMAGE_IS_ALSO_BOOSTED_BY_ROTATION_COUNTER_EACH_COUNTER_1_FINAL_DAMAGE)
47 local Num2 = srcUser:GetBuffLayer(116080_ROLLING_CUTTER_:MAX_STACK_0)
48 A = A * (1 + Num1 * 0.01 * Num2)
49 end
50 local AttrEffect2 = srcUser:GetProperty("AttrEffect")
51 local bits = CommonFun.getBits(AttrEffect2)
52 if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
53 return A * 1.5
54 end
55 return A
56endPreserved HTML snapshot from ROM Handbook
