Bash

Bash

Lv 20AttackPhysical

Deals (Atk250%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Range: 2

Skill Levels

Lvl: 19
Attack
Physical
Skill Delay: 1 sec
SP: 19
Range: 2

• Deals (Atk245%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 18
Attack
Physical
Skill Delay: 1 sec
SP: 19
Range: 2

• Deals (Atk240%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 17
Attack
Physical
Skill Delay: 1 sec
SP: 19
Range: 2

• Deals (Atk235%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 16
Attack
Physical
Skill Delay: 1 sec
SP: 19
Range: 2

• Deals (Atk230%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 15
Attack
Physical
Skill Delay: 1 sec
SP: 17
Range: 2

• Deals (Atk225%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 14
Attack
Physical
Skill Delay: 1 sec
SP: 17
Range: 2

• Deals (Atk220%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 13
Attack
Physical
Skill Delay: 1 sec
SP: 17
Range: 2

• Deals (Atk215%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 12
Attack
Physical
Skill Delay: 1 sec
SP: 17
Range: 2

• Deals (Atk210%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 11
Attack
Physical
Skill Delay: 1 sec
SP: 17
Range: 2

• Deals (Atk205%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 10
Attack
Physical
Skill Delay: 1 sec
SP: 15
Range: 2

• Deals (Atk200%) Dmg to the target. When skill level reaches Lv.5~, has a 30% chance to stun the target.

Lvl: 9
Attack
Physical
Skill Delay: 1 sec
SP: 15
Range: 2

• Deals (Atk190%) Dmg to the target. When skill level reaches Lv.5~, has a 24% chance to stun the target.

Lvl: 8
Attack
Physical
Skill Delay: 1 sec
SP: 15
Range: 2

• Deals (Atk180%) Dmg to the target. When skill level reaches Lv.5~, has a 18% chance to stun the target.

Lvl: 7
Attack
Physical
Skill Delay: 1 sec
SP: 15
Range: 2

• Deals (Atk170%) Dmg to the target. When skill level reaches Lv.5~, has a 12% chance to stun the target.

Lvl: 6
Attack
Physical
Skill Delay: 1 sec
SP: 15
Range: 2

• Deals (Atk160%) Dmg to the target. When skill level reaches Lv.5~, has a 6% chance to stun the target.

Lvl: 5
Attack
Physical
Skill Delay: 1 sec
SP: 8
Range: 2

• Deals (Atk150%) Dmg to the target

Lvl: 4
Attack
Physical
Skill Delay: 1 sec
SP: 8
Range: 2

• Deals (Atk140%) Dmg to the target

Lvl: 3
Attack
Physical
Skill Delay: 1 sec
SP: 8
Range: 2

• Deals (Atk130%) Dmg to the target

Lvl: 2
Attack
Physical
Skill Delay: 1 sec
SP: 8
Range: 2

• Deals (Atk120%) Dmg to the target

Lvl: 1
Attack
Physical
Skill Delay: 1 sec
SP: 8
Range: 2

• Deals (Atk110%) Dmg to the target

Formula

1function CommonFun.calcDamage_1102(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 AttrEffect = srcUser:GetProperty("AttrEffect")
20  local bits = CommonFun.getBits(AttrEffect)
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 skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
29  local damChangePer = damageParam.damChangePer
30  local damChangePer1 = damageParam.damChangePer1
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 skilllv_fumo = srcUser:GetLernedSkillLevel(1263_ASSASSIN:ENCHANT_BLADE)
40  local MAtk = srcUser:GetProperty("MAtk")
41  local MAtkPer = srcUser:GetProperty("MAtkPer")
42  local Num = srcUser:GetRunePoint(14060_AESIR_ENCHANT_BLADE_5_EXTRA_M_ATK)
43  local MAtk_fumo = 0
44  local MAtkGem = srcUser:GetGemValue(143011_BASH_DEALS_AN_EXTRA_PERCENTAGE_M_ATK)
45  MAtk_fumo = MAtk * (1 + MAtkPer) * MAtkGem / 100000
46  if srcUser:HasBuffID(117630_ENCHANT_BLADE_:MAX_STACK_0) then
47    MAtk_fumo = MAtk * (1 + MAtkPer) * skilllv_fumo * 0.1 * (1 + Num / 20)
48  end
49  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
50  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk + MAtk_fumo) * raceparam * bossparam * bossparam2
51  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
52  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
53  local BaseLvDamage = 0
54  local IBaseLv = srcUser.BaseLv
55  if srcUser:HasBuffID(42190_SILVER_GLAIVE_:MAX_STACK_0) then
56    BaseLvDamage = IBaseLv * 20
57  end
58  if srcUser:HasBuffID(42200_BLACK_IRON_SWORD_:MAX_STACK_0) then
59    BaseLvDamage = IBaseLv * 20
60  end
61  local GemValue1 = srcUser:GetGemValue(11041_BASH_DMG_PERCENTAGE)
62  local GemValue2 = srcUser:GetGemValue(143012_BASH_DMG_PERCENTAGE)
63  local MidGemValue = srcUser:GetGemValue(11042_BASH_DEALS_EXTRA_PERCENTAGE_DMG_TO_MEDIUM_SIZE_ENEMIES)
64  local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
65  local MidGemDam = 1
66  if CommonFun.Shape.M == targetUser.shape then
67    MidGemDam = 1 + MidGemValue / 100000
68  end
69  if srcUser:HasBuffID(21430100_IGNORE_DEF_IN_OVER_THRUST_STATUS_:MAX_STACK_0) and srcUser:HasBuffID(96150_OVER_THRUST_:MAX_STACK_0) then
70    DefReduc = 1
71  end
72  local anyz = 1
73  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
74  if skillID == 3007_BLACKSMITH:DARK_FLAME_SLASH or skillID == 4401_CHRONOMANCER:DARK_FLAME_SLASH then
75    local skilllv_anyz = srcUser:GetLernedSkillLevel(3007_BLACKSMITH:DARK_FLAME_SLASH)
76    local skilllv_anyz2 = srcUser:GetLernedSkillLevel(4401_CHRONOMANCER:DARK_FLAME_SLASH)
77    local skilllv_anyz3 = srcUser:GetLernedSkillLevel(4428_ROGUE:DARK_FLAME_SLASH_ENHANCE)
78    if skilllv_1 <= 5 then
79      damChangePer = 1 + skilllv_1 * 0.1
80      damChangePer1 = 50 + (skilllv_1 - 1) * 25
81    elseif 5 < skilllv_1 and skilllv_1 <= 10 then
82      damChangePer = 1 + skilllv_1 * 0.1
83      damChangePer1 = 150
84    else
85      damChangePer = 2 + (skilllv_1 - 10) * 0.05
86      damChangePer1 = 150
87    end
88    anyz = (1 + (skilllv_anyz + skilllv_anyz2) * 0.05) * (1 + skilllv_anyz3 * 0.04)
89  end
90  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - ShortRangeDamReduc2) * GemDam * MidGemDam + damChangePer1 - Vit2 * (1 + VitPer2) + BaseLvDamage
91  if A <= 1 then
92    return 1
93  end
94  local Buff = srcUser:HasBuffID(80000550_BONGUN_CARD_DEPOSITE_:MAX_STACK_0)
95  local Weapon = srcUser:GetEquipedID(7_WEAPON)
96  local B = 1
97  if CommonFun.Shape.M == targetUser.shape and (Weapon == 40308_NAGAN_1_NAGAN_1_NAGAN_1 or Weapon == 140308_NAGAN_2_NAGAN_2_NAGAN_2) then
98    B = 1.5
99  end
100  if CommonFun.Shape.M == targetUser.shape and (Weapon == 40359_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1 or Weapon == 140359_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2) then
101    B = 1.5
102  end
103  local fuwen = 1
104  if srcUser:HasBuffID(20110100_BONGUN_CARD_DEPOSITE_EFFECT_DOUBLED_:MAX_STACK_0) then
105    fuwen = 2
106  end
107  local Num1 = srcUser:GetRunePoint(11001_AESIR_BASH_DMG_10)
108  local Num2 = srcUser:GetRunePoint(11004)
109  local Num3 = srcUser:GetRunePoint(11005)
110  local Num4 = srcUser:GetRunePoint(11006)
111  local Num5 = srcUser:GetRunePoint(11012)
112  local Num6 = srcUser:GetRunePoint(11014)
113  local Num7 = srcUser:GetRunePoint(11015)
114  local Num8 = srcUser:GetRunePoint(11018)
115  local Num9 = srcUser:GetRunePoint(11019)
116  local Num10 = srcUser:GetRunePoint(11025)
117  local RuneDamage = (Num1 + Num2 + Num3 + Num4 + Num5 + Num6 + Num7 + Num8 + Num9 + Num10) * 0.1 + 1
118  if bits[CommonFun.AttrEffect.KuangJiDam] == 1 and 10 <= skilllv_1 and Buff == true then
119    return (A + Str * 20 * fuwen) * 1.5 * RuneDamage * (1 - RefineDamReduc) * anyz
120  elseif (Weapon == 40308_NAGAN_1_NAGAN_1_NAGAN_1 or Weapon == 140308_NAGAN_2_NAGAN_2_NAGAN_2) and 10 <= skilllv_1 and Buff == true then
121    return (A + Str * 20 * fuwen) * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
122  elseif (Weapon == 40359_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1 or Weapon == 140359_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2) and 10 <= skilllv_1 and Buff == true then
123    return (A + Str * 20 * fuwen) * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
124  elseif bits[CommonFun.AttrEffect.KuangJiDam] == 1 and 10 <= skilllv_1 then
125    return A * 1.5 * RuneDamage * (1 - RefineDamReduc) * anyz
126  elseif (Weapon == 40308_NAGAN_1_NAGAN_1_NAGAN_1 or Weapon == 140308_NAGAN_2_NAGAN_2_NAGAN_2) and 10 <= skilllv_1 then
127    return A * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
128  elseif (Weapon == 40359_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1_BLADE_OF_FRENZY_1 or Weapon == 140359_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2_BLADE_OF_RAGE_2) and 10 <= skilllv_1 then
129    return A * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
130  elseif Buff == true then
131    return (A + Str * 20 * fuwen) * RuneDamage * (1 - RefineDamReduc) * anyz
132  end
133  return A * RuneDamage * (1 - RefineDamReduc) * anyz
134end
Preserved HTML snapshot from ROM Handbook