
Shield Charge
Lvl: 5
Attack
Physical
Skill Delay: 1 sec
SP: 10
Range: 3
Smashes the target with the shield, dealing 300%*Dmg and knocking it back for 3m. Has a 40% chance to stun the target for 3 sec Shield type weapons are required. Damage dealt is affected by Vit, Dex and Shield Refine Level
Lvl: 4
Attack
Physical
Skill Delay: 1 sec
SP: 10
Range: 3
• Smashes the target with the shield, dealing 260%*Dmg and knocking it back for 3m. Has a 32% chance to stun the target for 3 sec Shield type weapons are required. Damage dealt is affected by Vit, Dex and Shield Refine Level
Lvl: 3
Attack
Physical
Skill Delay: 1 sec
SP: 10
Range: 3
• Smashes the target with the shield, dealing 220%*Dmg and knocking it back for 3m. Has a 24% chance to stun the target for 3 sec Shield type weapons are required. Damage dealt is affected by Vit, Dex and Shield Refine Level
Lvl: 2
Attack
Physical
Skill Delay: 1 sec
SP: 10
Range: 3
• Smashes the target with the shield, dealing 180%*Dmg and knocking it back for 3m. Has a 16% chance to stun the target for 3 sec Shield type weapons are required. Damage dealt is affected by Vit, Dex and Shield Refine Level
Lvl: 1
Attack
Physical
Skill Delay: 1 sec
SP: 10
Range: 3
• Smashes the target with the shield, dealing 140%*Dmg and knocking it back for 3m. Has a 8% chance to stun the target for 3 sec Shield type weapons are required. Damage dealt is affected by Vit, Dex and Shield Refine Level
Aesir
• Shield Charge -Stun [Shield Charge] Stun Rate +15%
• Shield Charge -Hit Hit of [Shield Charge] +20%
Formula
function CommonFun.calcDamage_7205(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Vit = srcUser:GetProperty("Vit")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
local shield = srcUser:GetEquipedID(1)
local RefineLv = srcUser:GetEquipedRefineLv(1)
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 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 RefineLv = srcUser:GetEquipedRefineLv(1)
local VDDamage = Vit / 150 + Dex / 200 + RefineLv / 15
if VDDamage <= 0 then
VDDamage = 0
end
local skilllv_1 = srcUser:GetLernedSkillLevel(1181_THIEF:SHIELD_OF_DEFENSE)
local Sheild = skilllv_1 * 0.01 + 1
local RefineLvH = srcUser:GetEquipedRefineLv(2)
local huangjiazhanjia = 0
if 10 <= RefineLvH and srcUser:HasBuffID(90002013_IMPERIAL_ARMOR_R4_:MAX_STACK_0) then
huangjiazhanjia = 0.15
end
local RefineLvJ = srcUser:GetEquipedRefineLv(1)
local jingdun = 0
if shield == 42508 or shield == 142508 then
jingdun = jingdun + 0.15
end
if 10 <= RefineLvJ and srcUser:HasBuffID(90002033_MIRROR_SHIELD_R4_:MAX_STACK_0) then
jingdun = jingdun + 0.1
end
if 5 <= RefineLvJ and srcUser:HasBuffID(90002027_LEGION_PLATE_ARMOR_R8_:MAX_STACK_0) then
jingdun = jingdun + 0.05
end
local Nirvana = 0
local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
if equipRing.id == 42581 or equipRing.id == 142581 then
if 5 > equipRing.refinelv then
Nirvana = Nirvana + 0.15
elseif 5 <= equipRing.refinelv and 10 > equipRing.refinelv then
Nirvana = Nirvana + 0.15 + 0.05
elseif 10 <= equipRing.refinelv then
Nirvana = Nirvana + 0.15 + 0.05 + 0.1
end
end
local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
if equipRingSD.id == 42581 or equipRingSD.id == 142581 then
if 5 > equipRingSD.refinelv then
Nirvana = Nirvana + 0.15 * equipRingSD.quench_per / 100
elseif 5 <= equipRingSD.refinelv and 10 > equipRingSD.refinelv then
Nirvana = Nirvana + 0.2 * equipRingSD.quench_per / 100
elseif 10 <= equipRingSD.refinelv then
Nirvana = Nirvana + 0.30000000000000004 * equipRingSD.quench_per / 100
end
end
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + VDDamage) * (1 + DamIncrease - ShortRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * Sheild * (1 + huangjiazhanjia + jingdun + Nirvana)
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 115120,
"BuffName": "Shield Charge [Stunning]",
"BuffRate": {
"Odds": {
"a": 8,
"b": 0,
"type": 2000
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Formula
{
"id": 355005,
"Buff": {
"enemy": [
115120
]
},
"Cost": 1,
"Desc": [
{
"id": 355000,
"params": [
300,
40,
3
]
}
],
"Icon": "skill_355001",
"Camps": "Enemy",
"Level": 5,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 7205,
"damChangePer": 3
}
],
"DescId": "##171207",
"NameZh": "##112373",
"SE_hit": "Skill/skill_weapon_shield_hit_02",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
115120
]
},
"RollType": 1,
"AttackAct": [
"use_skill3"
],
"Attack_EP": 0,
"SE_attack": "Skill/skill_weapon_shieldsmash_attack_01",
"SkillCost": {
"sp": 10
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"HitEffects": [
{
"type": 1,
"speed": 10,
"distance": 3,
"direction": "back"
}
],
"Launch_Range": 3,
"PreCondition": [
{
"type": 2,
"itemtype": 510
}
]
}