Formula

CommonFun.calcBuff_8100

function CommonFun.calcBuff_8100(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = srcUser:GetProperty("MaxHp")
  local Int = srcUser:GetProperty("Int")
  local mapid, maptype = srcUser:GetMapInfo()
  local A = MaxHp * math.min(math.floor(Int / 20) / 100, 0.3)
  return A
end