Formula

CommonFun.calcBuff_6551

function CommonFun.calcBuff_6551(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Ratio = 1
  local mapid, maptype = srcUser:GetMapInfo()
  if maptype == PVP_MAPS then
    Ratio = 0.25
  end
  local A = damage * lv * 0.02 * Ratio
  return A
end