CommonFun.calcBuff_7770
function CommonFun.calcBuff_7770(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local MaxSp = targetUser:GetProperty("MaxSp")
  local skilllv_hp = srcUser:GetLernedSkillLevel(2407_:PEACEFUL_REST)
  local skilllv_sp = srcUser:GetLernedSkillLevel(2406_:HAPPY_REST)
  local Num = srcUser:GetRunePoint(193013_AESIR_EVEN_WHEN_THE_CHARACTER_IS_NOT_SITTING_DOWN_OFFERS_20_OF_THE_HAPPY_REST_S_RESTORATION_EFFECT_EVERY_10_SECONDS)
  local Value_happy = srcUser:GetGemValue(193161_HAPPY_REST_S_RESTORATION_EFFECT_PERCENTAGE)
  local Value_peace = srcUser:GetGemValue(193162_PEACEFUL_REST_S_RESTORATION_EFFECT_PERCENTAGE)
  local A = MaxHp * skilllv_hp * a * (1 + Value_peace / 100000) + (MaxSp * skilllv_sp * b + MaxSp * skilllv_sp * c * Num) * (1 + Value_happy / 100000)
  return A
end