1function CommonFun.calcBuff_2560(srcUser, targetUser, a, b, c, d, lv)
2 if srcUser == nil or targetUser == nil then
3 return 0
4 end
5 local A = 100
6 local AttrFunction = srcUser:GetProperty("AttrFunction")
7 local bitfunc = CommonFun.getBits(AttrFunction)
8 if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
9 A = 0
10 end
11 if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
12 A = 0
13 end
14 if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
15 A = 0
16 end
17 if targetUser:DamageAlways1() then
18 A = 0
19 end
20 return A
21end