Formula

CommonFun.calcBuff_8341

function CommonFun.calcBuff_8341(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = srcUser:GetProperty("MaxHp")
  local mapid, maptype = srcUser:GetMapInfo()
  local A = 0
  if 750000 <= MaxHp then
    A = math.min(math.floor((MaxHp - 750000) / 5000) * 0.1 / 100, 0.15)
  end
  return A
end