
Strong Blade Attack
Deals (Atk200%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
Skill Levels
• Deals (Atk190%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk180%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk170%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk160%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk150%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk140%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk130%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk120%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
• Deals (Atk110%) Dmg to an enemy and reduces its Move Spd by 30%. Lasts 5 sec
Formula
1function CommonFun.calcDamage_3106(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 damChangePer = damageParam.damChangePer
27 local damChangePer1 = damageParam.damChangePer1
28 local AttrEffect2 = srcUser:GetProperty("AttrEffect")
29 local bits2 = CommonFun.getBits(AttrEffect2)
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 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 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)
41 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
42 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - ShortRangeDamReduc2) + damChangePer1) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)
43 if A <= 1 then
44 return 1
45 end
46 local Num1 = srcUser:GetRunePoint(31016_AESIR_STRONG_BLADE_ATTACK_HAS_A_10_CHANCE_TO_DEAL_100_CRIT_DMG_TO_POISONED_TARGETS)
47 local StateEffect = targetUser:GetProperty("StateEffect")
48 local bits = CommonFun.getBits(StateEffect)
49 local a = Num1 * 10
50 if bits[CommonFun.StateEffect.Poison] == 1 and CommonFun.IsInRate(a, srcUser:GetRandom()) and bits2[CommonFun.AttrEffect.Hualiduanjian] == 1 then
51 return A * 2 * 1.5, CommonFun.DamageType.Crit
52 elseif bits[CommonFun.StateEffect.Poison] == 1 and CommonFun.IsInRate(a, srcUser:GetRandom()) then
53 return A * 2, CommonFun.DamageType.Crit
54 elseif bits2[CommonFun.AttrEffect.Hualiduanjian] == 1 then
55 return A * 1.5
56 end
57 return A
58end