CommonFun.calcBuff_3069
function CommonFun.calcBuff_3069(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 0
  local ChantTime = srcUser:GetCurChantTime()
  local mapid, maptype = srcUser:GetMapInfo()
  if (maptype == PVP_MAPS) and 3000 <= ChantTime then
    local skilllv3 = srcUser:GetLernedSkillLevel(2263_:THOROUGH_THROUGH_HEAD_SHOT)
    local Luk = srcUser:GetProperty("Luk")
    local Luk2 = targetUser:GetProperty("Luk")
    A = (Luk - Luk2) * skilllv3 * 0.01
    if srcUser:HasBuffID(21730040_HEAD_SHOT_CHANCE_IN_THE_HAWK_EYES_STATE_:MAX_STACK_0) and srcUser:HasBuffID(133769_HAWK_EYES_MODE_:MAX_STACK_0) then
      A = A + 5
    end
    if srcUser:HasBuffID(45264_PASSIVE_HEAD_SHOT_PROBABILITY_:MAX_STACK_0) or srcUser:HasBuffID(45274_PASSIVE_HEAD_SHOT_PROBABILITY_:MAX_STACK_0) or srcUser:HasBuffID(47364_PASSIVE_HEAD_SHOT_PROBABILITY_:MAX_STACK_0) then
      A = A + 7
    end
    if srcUser:HasBuffID(45265_CAN_T_BE_ATTACKED_:MAX_STACK_0) or srcUser:HasBuffID(45275_CAN_T_BE_ATTACKED_:MAX_STACK_0) then
      A = A * 1.77
    end
  end
  if targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) then
    A = 0
  end
  if targetUser.boss == true or targetUser.mini == true then
    A = 0
  end
  return A
end