
Shield Chain
Use shield to deal Dam: (250%×Combos 5) to a single enemy. Using it increases 200 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
Skill Levels
• Use shield to deal Dam: (245%×Combos 5) to a single enemy. Using it increases 180 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (240%×Combos 5) to a single enemy. Using it increases 160 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (235%×Combos 5) to a single enemy. Using it increases 140 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (230%×Combos 5) to a single enemy. Using it increases 120 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (225%×Combos 5) to a single enemy. Using it increases 100 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (220%×Combos 5) to a single enemy. Using it increases 80 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (215%×Combos 5) to a single enemy. Using it increases 60 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (210%×Combos 5) to a single enemy. Using it increases 40 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Dam: (205%×Combos 5) to a single enemy. Using it increases 20 points to your M.Def for 3 seconds. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (200%×Combos 5) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (180%×Combos 5) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (170%×Combos 4) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (160%×Combos 4) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (150%×Combos 3) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (140%×Combos 3) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (130%×Combos 2) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (120%×Combos 2) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (110%×Combos 1) to a single enemy. Shield as off-hand weapon must be equipped.
• Use shield to deal Damage: (100%×Combos 1) to a single enemy. Shield as off-hand weapon must be equipped.
Formula
1function CommonFun.calcDamage_7203(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 IgnoreDef = 0
11 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
12 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
13 if targetUser.boss or targetUser.mini then
14 IgnoreDef = IgnoreDef1
15 else
16 IgnoreDef = IgnoreDef1 + IgnoreDef2
17 end
18 if 1 <= IgnoreDef then
19 IgnoreDef = 1
20 end
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 damChangePer = damageParam.damChangePer
29 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
30 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
31 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
32 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
33 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
34 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
35 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
36 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
37 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
38 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
39 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
40 local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
41 local Num1 = srcUser:GetRunePoint(70040_AESIR_SHIELD_CHAIN_SINGLE_BASE_DMG_10)
42 local RuneDamage = 1 + 0.1 * Num1
43 local RefineLv = srcUser:GetEquipedRefineLv(1)
44 local VDDamage = Vit / 150 + Dex / 200 + RefineLv / 15
45 if VDDamage <= 0 then
46 VDDamage = 0
47 end
48 local skilllv_1 = srcUser:GetLernedSkillLevel(1181_THIEF:SHIELD_OF_DEFENSE)
49 local Sheild = skilllv_1 * 0.01 + 1
50 local GemValue = srcUser:GetGemValue(72111_SHIELD_CHAIN_DMG_PERCENTAGE)
51 local GemDam = 1 + GemValue / 100000
52 local RefineLvH = srcUser:GetEquipedRefineLv(2)
53 local huangjiazhanjia = 0
54 if 10 <= RefineLvH and srcUser:HasBuffID(90002013_IMPERIAL_ARMOR_TIER_4_:MAX_STACK_0) then
55 huangjiazhanjia = 0.15
56 end
57 local RefineLvJ = srcUser:GetEquipedRefineLv(1)
58 local jingdun = 0
59 if shield == 42508 or shield == 142508 then
60 jingdun = jingdun + 0.15
61 end
62 if 10 <= RefineLvJ and srcUser:HasBuffID(90002033_MIRROR_SHIELD_TIER_4_:MAX_STACK_0) then
63 jingdun = jingdun + 0.1
64 end
65 if 5 <= RefineLvJ and srcUser:HasBuffID(90002027_LEGION_PLATE_ARMOR_TIER_8_:MAX_STACK_0) then
66 jingdun = jingdun + 0.05
67 end
68 local Nirvana = 0
69 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
70 if equipRing.id == 42581 or equipRing.id == 142581 then
71 if 5 > equipRing.refinelv then
72 Nirvana = Nirvana + 0.15
73 elseif 5 <= equipRing.refinelv and 10 > equipRing.refinelv then
74 Nirvana = Nirvana + 0.15 + 0.05
75 elseif 10 <= equipRing.refinelv then
76 Nirvana = Nirvana + 0.15 + 0.05 + 0.1
77 end
78 end
79 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
80 if equipRingSD.id == 42581 or equipRingSD.id == 142581 then
81 if 5 > equipRingSD.refinelv then
82 Nirvana = Nirvana + 0.15 * equipRingSD.quench_per / 100
83 elseif 5 <= equipRingSD.refinelv and 10 > equipRingSD.refinelv then
84 Nirvana = Nirvana + 0.2 * equipRingSD.quench_per / 100
85 elseif 10 <= equipRingSD.refinelv then
86 Nirvana = Nirvana + 0.30000000000000004 * equipRingSD.quench_per / 100
87 end
88 end
89 local BaseLvDamage = 0
90 local IBaseLv = srcUser.BaseLv
91 if srcUser:HasBuffID(43800_1797_:MAX_STACK_0) or srcUser:HasBuffID(44010_1738_:MAX_STACK_0) or srcUser:HasBuffID(43590_ACADEMY_GUN_:MAX_STACK_0) then
92 BaseLvDamage = IBaseLv * 50
93 end
94 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + VDDamage) * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * Sheild * GemDam * (1 + huangjiazhanjia + jingdun + Nirvana) + BaseLvDamage
95 if A <= 1 then
96 return 1
97 end
98 return A
99end