Happy Rest
Lvl: 5 Passive

When sitting down, restores 10% MP for self and teammates around every 2 seconds.

Lvl: 4 Passive
• When sitting down, restores 8% MP for self and teammates around every 2 seconds.
Lvl: 3 Passive
• When sitting down, restores 6% MP for self and teammates around every 2 seconds.
Lvl: 2 Passive
• When sitting down, restores 4% MP for self and teammates around every 2 seconds.
Lvl: 1 Passive
• When sitting down, restores 2% MP for self and teammates around every 2 seconds.

Aesir

• Happy Rest - Restore Even when the character is not sitting down, offers 20% of the [Happy Rest]'s Restoration effect every 10 seconds

Self 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_ACOLYTE:PEACEFUL_REST)
  local skilllv_sp = srcUser:GetLernedSkillLevel(2406_ACOLYTE: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

Self

{
  "id": 136040,
  "BuffName": "Happy Rest",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "Action",
    "actionid": 3
  },
  "BuffEffect": {
    "id": [
      136041
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 136041,
  "BuffName": "Happy Rest (Restore SP)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Sp": {
      "a": 0,
      "b": 0.02,
      "c": 0,
      "type": 7770
    },
    "type": "HSPChange"
  },
  "BuffStateID": 116440
}

Formula

{
  "id": 2406005,
  "Buff": {
    "self": [
      136040
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2406000,
      "params": [
        10
      ]
    }
  ],
  "Icon": "skill_2406001",
  "Level": 5,
  "DescId": "##1255122",
  "NameZh": "##1254516",
  "Pvp_buff": {
    "self": [
      136040
    ]
  }
}