Formula

CommonFun.calcBuff_3711

function CommonFun.calcBuff_3711(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxSp = targetUser:GetProperty("MaxSp")
  local GemValue = srcUser:GetGemValue(82131_WARM_BREEZE_ADDITIONALLY_RECOVERS_PERCENTAGE_OF_MAX_SP)
  local A = MaxSp * GemValue / 100000
  return A
end