
Dangers ahead
Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*3000% in Phy. DMG in a 5m radius. Afflicted enemies become stunned
Skill Levels
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*2800% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*2600% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*2400% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*2200% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*2000% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*1800% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*1600% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*1400% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke tosses a bomb ahead. Upon landing, it deals Phy. ATK*1200% in Phy. DMG in a 5m radius. Afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*3000% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*2800% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*2600% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*2400% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*2200% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*2000% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*1800% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*1600% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*1400% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb where she stands. When an enemy enters the area, it detonates, dealing Phy. ATK*1200% in Phy. DMG in a 5m radius. The bomb lasts 30s. Upon detonating, afflicted enemies become stunned While in Spirit state: Her master gains the skill Dangers Ahead. The higher the skill level, the greater the bomb's damage.
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *3000% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *2800% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *2600% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *2400% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *2200% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *2000% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *1800% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *1600% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *1400% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
• Brooke plants a bomb in place. When an enemy unit enters the area, the bomb will be Detonated, inflicting Physical DMG of ATK *1200% within a radius of 5 meters. The bomb lasts for 30 seconds In the Spirit state: The master obtains the skill Dangers ahead. The higher the skill level, the severer the bomb damage
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