
Bash
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: 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
Aesir
• Bash - Empower [Bash] Dmg +10%
• Bash -Proficiency [Bash] skill cost -10%
Formula
function CommonFun.calcDamage_1102(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
local IgnoreDef = 0
local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
if targetUser.boss or targetUser.mini then
IgnoreDef = IgnoreDef1
else
IgnoreDef = IgnoreDef1 + IgnoreDef2
end
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local AttrEffect = srcUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
local Refine = srcUser:GetProperty("Refine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
local damChangePer = damageParam.damChangePer
local damChangePer1 = damageParam.damChangePer1
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local skilllv_fumo = srcUser:GetLernedSkillLevel(1263_ASSASSIN:ENCHANT_BLADE)
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local Num = srcUser:GetRunePoint(14060_AESIR_ENCHANT_BLADE_5_EXTRA_M_ATK)
local MAtk_fumo = 0
local MAtkGem = srcUser:GetGemValue(143011_BASH_DEALS_AN_EXTRA_PERCENTAGE_M_ATK)
MAtk_fumo = MAtk * (1 + MAtkPer) * MAtkGem / 100000
if srcUser:HasBuffID(117630_ENCHANT_BLADE_:MAX_STACK_0) then
MAtk_fumo = MAtk * (1 + MAtkPer) * skilllv_fumo * 0.1 * (1 + Num / 20)
end
local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk + MAtk_fumo) * raceparam * bossparam * bossparam2
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local BaseLvDamage = 0
local IBaseLv = srcUser.BaseLv
if srcUser:HasBuffID(42190_SILVER_GLAIVE_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 20
end
if srcUser:HasBuffID(42200_BLACK_IRON_SWORD_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 20
end
local GemValue1 = srcUser:GetGemValue(11041_BASH_DMG_PERCENTAGE)
local GemValue2 = srcUser:GetGemValue(143012_BASH_DMG_PERCENTAGE)
local MidGemValue = srcUser:GetGemValue(11042_BASH_DEALS_EXTRA_PERCENTAGE_DMG_TO_MEDIUM_SIZE_ENEMIES)
local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
local MidGemDam = 1
if CommonFun.Shape.M == targetUser.shape then
MidGemDam = 1 + MidGemValue / 100000
end
if srcUser:HasBuffID(21430100_IGNORE_DEF_IN_OVER_THRUST_STATUS_:MAX_STACK_0) and srcUser:HasBuffID(96150_OVER_THRUST_:MAX_STACK_0) then
DefReduc = 1
end
local anyz = 1
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 3007_BLACKSMITH:DARK_FLAME_SLASH or skillID == 4401_CHRONOMANCER:DARK_FLAME_SLASH then
local skilllv_anyz = srcUser:GetLernedSkillLevel(3007_BLACKSMITH:DARK_FLAME_SLASH)
local skilllv_anyz2 = srcUser:GetLernedSkillLevel(4401_CHRONOMANCER:DARK_FLAME_SLASH)
local skilllv_anyz3 = srcUser:GetLernedSkillLevel(4428_ROGUE:DARK_FLAME_SLASH_ENHANCE)
if skilllv_1 <= 5 then
damChangePer = 1 + skilllv_1 * 0.1
damChangePer1 = 50 + (skilllv_1 - 1) * 25
elseif 5 < skilllv_1 and skilllv_1 <= 10 then
damChangePer = 1 + skilllv_1 * 0.1
damChangePer1 = 150
else
damChangePer = 2 + (skilllv_1 - 10) * 0.05
damChangePer1 = 150
end
anyz = (1 + (skilllv_anyz + skilllv_anyz2) * 0.05) * (1 + skilllv_anyz3 * 0.04)
end
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - ShortRangeDamReduc2) * GemDam * MidGemDam + damChangePer1 - Vit2 * (1 + VitPer2) + BaseLvDamage
if A <= 1 then
return 1
end
local Buff = srcUser:HasBuffID(80000550_BONGUN_CARD_DEPOSITE_:MAX_STACK_0)
local Weapon = srcUser:GetEquipedID(7_WEAPON)
local B = 1
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
B = 1.5
end
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
B = 1.5
end
local fuwen = 1
if srcUser:HasBuffID(20110100_BONGUN_CARD_DEPOSITE_EFFECT_DOUBLED_:MAX_STACK_0) then
fuwen = 2
end
local Num1 = srcUser:GetRunePoint(11001_AESIR_BASH_DMG_10)
local Num2 = srcUser:GetRunePoint(11004)
local Num3 = srcUser:GetRunePoint(11005)
local Num4 = srcUser:GetRunePoint(11006)
local Num5 = srcUser:GetRunePoint(11012)
local Num6 = srcUser:GetRunePoint(11014)
local Num7 = srcUser:GetRunePoint(11015)
local Num8 = srcUser:GetRunePoint(11018)
local Num9 = srcUser:GetRunePoint(11019)
local Num10 = srcUser:GetRunePoint(11025)
local RuneDamage = (Num1 + Num2 + Num3 + Num4 + Num5 + Num6 + Num7 + Num8 + Num9 + Num10) * 0.1 + 1
if bits[CommonFun.AttrEffect.KuangJiDam] == 1 and 10 <= skilllv_1 and Buff == true then
return (A + Str * 20 * fuwen) * 1.5 * RuneDamage * (1 - RefineDamReduc) * anyz
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
return (A + Str * 20 * fuwen) * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
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
return (A + Str * 20 * fuwen) * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
elseif bits[CommonFun.AttrEffect.KuangJiDam] == 1 and 10 <= skilllv_1 then
return A * 1.5 * RuneDamage * (1 - RefineDamReduc) * anyz
elseif (Weapon == 40308_NAGAN_1_NAGAN_1_NAGAN_1 or Weapon == 140308_NAGAN_2_NAGAN_2_NAGAN_2) and 10 <= skilllv_1 then
return A * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
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
return A * 2 * B * RuneDamage * (1 - RefineDamReduc) * anyz
elseif Buff == true then
return (A + Str * 20 * fuwen) * RuneDamage * (1 - RefineDamReduc) * anyz
end
return A * RuneDamage * (1 - RefineDamReduc) * anyz
end
Self
{
"id": 124122,
"BuffName": "Skill increases Frenzy",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AddBuff",
"layer": [
{
"id": 124120,
"layer": 5
}
]
}
}
Enemy
{
"id": 80010,
"BuffName": "Stunning [Stunning]",
"BuffRate": {
"Odds": {
"a": 6,
"b": -30,
"type": 130
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Formula
{
"id": 15006,
"Buff": {
"self": [
124122
],
"enemy": [
80010
]
},
"Cost": 1,
"Desc": [
{
"id": 15001,
"params": [
160,
6
]
}
],
"Icon": "skill_15001",
"Camps": "Enemy",
"Level": 6,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 1102,
"skill1_id": 15,
"damChangePer": 1.6,
"damChangePer1": 150
}
],
"DescId": "##171163",
"NameZh": "##112388",
"NextID": 15007,
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 6,
"SE_cast": "Skill/Magic_cast",
"Pvp_buff": {
"self": [
124122
],
"enemy": [
80010
]
},
"RollType": 1,
"SkillHit": 0.3,
"AttackAct": [
"attack"
],
"Attack_EP": 3,
"SE_attack": "Skill/Bash_Old",
"SkillCost": {
"sp": 15
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Launch_Range": 2
}