
Shield Charge
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
Aesir Effects
Skill Levels
• 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
• 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
• 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
• 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
Formula
1function CommonFun.calcDamage_7205(srcUser, targetUser, params, damageParam, logger)
2 local Str = srcUser:GetProperty("Str")
3 local Dex = srcUser:GetProperty("Dex")
4 local Vit = srcUser:GetProperty("Vit")
5 local Luk = srcUser:GetProperty("Luk")
6 local Atk = srcUser:GetProperty("Atk")
7 local AtkPer = srcUser:GetProperty("AtkPer")
8 local DamIncrease = srcUser:GetProperty("DamIncrease")
9 local shield = srcUser:GetEquipedID(1)
10 local RefineLv = srcUser:GetEquipedRefineLv(1)
11 local IgnoreDef = 0
12 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
13 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
14 if targetUser.boss or targetUser.mini then
15 IgnoreDef = IgnoreDef1
16 else
17 IgnoreDef = IgnoreDef1 + IgnoreDef2
18 end
19 if 1 <= IgnoreDef then
20 IgnoreDef = 1
21 end
22 local Refine = srcUser:GetProperty("Refine")
23 local Def2 = targetUser:GetProperty("Def")
24 local DefPer2 = targetUser:GetProperty("DefPer")
25 local Vit2 = targetUser:GetProperty("Vit")
26 local VitPer2 = targetUser:GetProperty("VitPer")
27 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
28 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
29 local damChangePer = damageParam.damChangePer
30 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
31 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
32 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
33 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
34 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
35 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
36 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
37 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
38 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
39 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
40 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
41 local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
42 local RefineLv = srcUser:GetEquipedRefineLv(1)
43 local VDDamage = Vit / 150 + Dex / 200 + RefineLv / 15
44 if VDDamage <= 0 then
45 VDDamage = 0
46 end
47 local skilllv_1 = srcUser:GetLernedSkillLevel(1181_THIEF:SHIELD_OF_DEFENSE)
48 local Sheild = skilllv_1 * 0.01 + 1
49 local RefineLvH = srcUser:GetEquipedRefineLv(2)
50 local huangjiazhanjia = 0
51 if 10 <= RefineLvH and srcUser:HasBuffID(90002013_IMPERIAL_ARMOR_TIER_4_:MAX_STACK_0) then
52 huangjiazhanjia = 0.15
53 end
54 local RefineLvJ = srcUser:GetEquipedRefineLv(1)
55 local jingdun = 0
56 if shield == 42508 or shield == 142508 then
57 jingdun = jingdun + 0.15
58 end
59 if 10 <= RefineLvJ and srcUser:HasBuffID(90002033_MIRROR_SHIELD_TIER_4_:MAX_STACK_0) then
60 jingdun = jingdun + 0.1
61 end
62 if 5 <= RefineLvJ and srcUser:HasBuffID(90002027_LEGION_PLATE_ARMOR_TIER_8_:MAX_STACK_0) then
63 jingdun = jingdun + 0.05
64 end
65 local Nirvana = 0
66 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
67 if equipRing.id == 42581 or equipRing.id == 142581 then
68 if 5 > equipRing.refinelv then
69 Nirvana = Nirvana + 0.15
70 elseif 5 <= equipRing.refinelv and 10 > equipRing.refinelv then
71 Nirvana = Nirvana + 0.15 + 0.05
72 elseif 10 <= equipRing.refinelv then
73 Nirvana = Nirvana + 0.15 + 0.05 + 0.1
74 end
75 end
76 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
77 if equipRingSD.id == 42581 or equipRingSD.id == 142581 then
78 if 5 > equipRingSD.refinelv then
79 Nirvana = Nirvana + 0.15 * equipRingSD.quench_per / 100
80 elseif 5 <= equipRingSD.refinelv and 10 > equipRingSD.refinelv then
81 Nirvana = Nirvana + 0.2 * equipRingSD.quench_per / 100
82 elseif 10 <= equipRingSD.refinelv then
83 Nirvana = Nirvana + 0.30000000000000004 * equipRingSD.quench_per / 100
84 end
85 end
86 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + VDDamage) * (1 + DamIncrease - ShortRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * Sheild * (1 + huangjiazhanjia + jingdun + Nirvana)
87 if A <= 1 then
88 return 1
89 end
90 return A
91end