
Air Slash
Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1540 meters area in front
Skill Levels
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1460 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 9% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1380 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 8% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1300 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 7% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1220 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 6% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1140 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 5% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*1060 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 4% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*980 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 3% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*900 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 2% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *8% on all enemy units within the 4*820 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 1% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1540 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 10% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1460 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 9% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1380 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 8% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1300 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 7% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1220 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 6% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1140 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 5% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*1060 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 4% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*980 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 3% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*900 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 2% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *7% on all enemy units within the 4*820 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 1% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1540 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 10% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1460 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 9% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1380 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 8% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1300 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 7% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1220 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 6% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1140 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 5% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*1060 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 4% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*980 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 3% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*900 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 2% for 10 seconds. Up to 5 layers can be stacked
• Brooke spits out a shot of air cannon forward, inflicting neutral Physical DMG of ATK *6% on all enemy units within the 4*820 meters area in front In the Spirit state: The master's each attack has a chance of increasing his Move SPD by 1% for 10 seconds. Up to 5 layers can be stacked
Formula
1function CommonFun.calcDamage_123(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 raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
28 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
29 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
30 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
31 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
32 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
33 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
34 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
35 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
36 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
37 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
38 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
39 if skillID == 4511_ROGUE:RAZOR_LEAF then
40 local skilllv_mj = srcUser:GetLernedSkillLevel(4512_ROGUE:RAZOR_LEAF_DENSE)
41 local skilllv_fy = srcUser:GetLernedSkillLevel(4511_ROGUE:RAZOR_LEAF)
42 damChangePer = (1.9 + 0.6 * skilllv_fy) * (3 + skilllv_mj)
43 end
44 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2)
45 if skillID == 4500_ROGUE:THE_IMPACT_BLADE or skillID == 4501_ROGUE:THE_IMPACT_BLADE_BREAK then
46 local MaxHp = srcUser:GetProperty("MaxHp")
47 local skilllv = srcUser:GetLernedSkillLevel(4502_ROGUE:THE_IMPACT_BLADE_SLASH)
48 local MaxHpDam = 0
49 if 0 < skilllv then
50 MaxHpDam = MaxHp / damChangePer * (0.1 + skilllv * 0.07)
51 end
52 A = ((AtkFinal + MaxHpDam) * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2)
53 end
54 local skill_abs = srcUser:GetLernedSkillLevel(4521_ROGUE:GOOD_LUCK_DMG_INC)
55 if 0 < skill_abs and targetUser:GetBuffEffectByType("AbsorbDamage") ~= nil then
56 A = A * (1 + skill_abs * 0.1)
57 end
58 local skilllv_luk = srcUser:GetLernedSkillLevel(4520_ROGUE:GOOD_LUCK)
59 local Rate = 10 + skilllv_luk * 2
60 if 0 < skilllv_luk and CommonFun.IsInRate(Rate, srcUser:GetRandom()) and skillID == 4528_ROGUE:VIGOR_BOMB and skillID == 4530_ROGUE:DANGERS_AHEAD then
61 local skilllv_zs = srcUser:GetLernedSkillLevel(4522_ROGUE:GOOD_LUCK_SERIOUS_INJURY)
62 if 0 < skilllv_zs and srcUser.isServerCall then
63 srcUser:AddBuff(154270_GOOD_LUCK_SERIOUS_INJURY_:MAX_STACK_0, targetUser:GetGuid())
64 end
65 A = A * 2
66 return A, CommonFun.DamageType.Crit
67 end
68 if skillID == 4528_ROGUE:VIGOR_BOMB then
69 local Skilllv_1 = srcUser:GetBoKiSkillLv(4506)
70 local Skilllv_3 = srcUser:GetBoKiSkillLv(4507)
71 damChangePer = Skilllv_1 * 2
72 A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2)) * (1 + Skilllv_3 * 0.1)
73 end
74 if skillID == 4530_ROGUE:DANGERS_AHEAD then
75 local Skilllv_2 = srcUser:GetBoKiSkillLv(4514)
76 damChangePer = Skilllv_2 * 5
77 A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2)
78 end
79 if A <= 1 then
80 return 1
81 end
82 return A
83end