
Hammerfall
Lvl: 5
Attack
Physical
CD: 2.5 sec
Skill Delay: 1.5 sec
SP: 27
Range: 1.5
Thumps the ground, dealing 600% Physical Dmg to nearby enemies. Has a 70% chance to stun them (up to 6 targets) for 2 sec
Lvl: 4
Attack
Physical
CD: 2.5 sec
Skill Delay: 1.5 sec
SP: 24
Range: 1.5
• Thumps the ground, dealing 500% Physical Dmg to nearby enemies. Has a 60% chance to stun them (up to 6 targets) for 2 sec
Lvl: 3
Attack
Physical
CD: 2.5 sec
Skill Delay: 1.5 sec
SP: 21
Range: 1.5
• Thumps the ground, dealing 400% Physical Dmg to nearby enemies. Has a 50% chance to stun them (up to 6 targets) for 2 sec
Lvl: 2
Attack
Physical
CD: 2.5 sec
Skill Delay: 1.5 sec
SP: 18
Range: 1.5
• Thumps the ground, dealing 300% Physical Dmg to nearby enemies. Has a 40% chance to stun them (up to 6 targets) for 2 sec
Lvl: 1
Attack
Physical
CD: 2.5 sec
Skill Delay: 1.5 sec
SP: 15
Range: 1.5
• Thumps the ground, dealing 200% Physical Dmg to nearby enemies. Has a 30% chance to stun them (up to 6 targets) for 2 sec
Formula
function CommonFun.calcDamage_20(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 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 damChangePer = damageParam.damChangePer
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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 380_RUNE_KNIGHT:SONIC_CLAW or skillID == 383_RUNE_KNIGHT:SILVER_CHARGE or skillID == 384_RUNE_KNIGHT:TINDER_BREAKER then
AtkPer = 0
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) * raceparam * bossparam * bossparam2
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 96160,
"BuffDesc": "Stunning: disable movement and attack",
"BuffIcon": "skillbuff_212001",
"BuffName": "Hammerfall [Stunning]",
"BuffRate": {
"Odds": {
"a": 10,
"b": 20,
"type": 130
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Formula
{
"CD": 2.5,
"id": 212005,
"Buff": {
"enemy": [
96160
]
},
"Cost": 1,
"Desc": [
{
"id": 212000,
"params": [
600,
70,
2
]
}
],
"Icon": "skill_212001",
"Camps": "Enemy",
"Level": 5,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 20,
"damChangePer": 6
}
],
"DescId": "##170417",
"NameZh": "##169167",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1.5,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
96160
]
},
"RollType": 1,
"AttackAct": [
"use_skill"
],
"Attack_EP": 0,
"SE_attack": "Skill/HammerFall",
"SkillCost": {
"sp": 27
},
"SkillType": "Attack",
"Target_EP": 0,
"DamageType": 1,
"FireEffects": [
{
"time": 0.3,
"type": 1,
"curve": 1,
"range": 0.08,
"myself": 1
}
],
"Logic_Param": {
"range": 3,
"range_num": 6
},
"Launch_Range": 1.5
}