Tranquil Restoration
Lvl: 10 LeadSkill CD: 24 sec

Guiding skill, quickly recover through spells. During the guidance, restores 25% of Max HP and 25% of Max Magic per second, lasting for 3 seconds

Lvl: 9 LeadSkill CD: 24 sec
• Guiding skill, quickly recover through spells. During the guidance, restores 25% of Max HP and 20% of Max Magic per second, lasting for 3 seconds
Lvl: 8 LeadSkill CD: 24 sec
• Guiding skill, quickly recover through spells. During the guidance, restores 25% of Max HP and 15% of Max Magic per second, lasting for 3 seconds
Lvl: 7 LeadSkill CD: 24 sec
• Guiding skill, quickly recover through spells. During the guidance, restores 25% of Max HP and 10% of Max Magic per second, lasting for 3 seconds
Lvl: 6 LeadSkill CD: 24 sec
• Guiding skill, quickly recover through spells. During the guidance, restores 25% of Max HP and 5% of Max Magic per second, lasting for 3 seconds
Lvl: 5 LeadSkill CD: 24 sec
• Guiding skill, quickly recover through spells. During the guidance, restores Max HP by 25% per second, lasting for 3 seconds
Lvl: 4 LeadSkill CD: 21 sec
• Guiding skill, quickly recover through spells. During the guidance, restores Max HP by 20% per second, lasting for 3 seconds
Lvl: 3 LeadSkill CD: 18 sec
• Guiding skill, quickly recover through spells. During the guidance, restores Max HP by 15% per second, lasting for 3 seconds
Lvl: 2 LeadSkill CD: 15 sec
• Guiding skill, quickly recover through spells. During the guidance, restores Max HP by 10% per second, lasting for 3 seconds
Lvl: 1 LeadSkill CD: 12 sec
• Guiding skill, quickly recover through spells. During the guidance, restores Max HP by 5% per second, lasting for 3 seconds

Aesir

• Tranquil Restoration - Fixed In the Tranquil Restoration state, DMG -5%

Self 6

function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * (a + c) + b
  if 0 < A or a == 0 then
    return A
  end
  if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
    return 0
  end
  if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
    local Vit = srcUser:GetProperty("Vit")
    local MAtk = srcUser:GetProperty("MAtk")
    local MAtkPer = srcUser:GetProperty("MAtkPer")
    local Refine = srcUser:GetProperty("Refine")
    local MRefine = srcUser:GetProperty("MRefine")
    local Def2 = targetUser:GetProperty("Def")
    local DefPer2 = targetUser:GetProperty("DefPer")
    local MDef2 = targetUser:GetProperty("MDef")
    local MDefPer2 = targetUser:GetProperty("MDefPer")
    local Vit2 = targetUser:GetProperty("Vit")
    local VitPer2 = targetUser:GetProperty("VitPer")
    local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
    local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
    local Int2 = targetUser:GetProperty("Int")
    local IntPer2 = targetUser:GetProperty("IntPer")
    local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
    local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
    local Str = srcUser:GetProperty("Str")
    local Dex = srcUser:GetProperty("Dex")
    local Luk = srcUser:GetProperty("Luk")
    local Atk = srcUser:GetProperty("Atk")
    local AtkPer = srcUser:GetProperty("AtkPer")
    local DamIncrease = srcUser:GetProperty("DamIncrease")
    local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
    local IgnoreDef = srcUser:GetProperty("IgnoreDef")
    if 1 <= IgnoreDef then
      IgnoreDef = 1
    end
    local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
    if 1 <= IgnoreMDef then
      IgnoreMDef = 1
    end
    local raceparam = 1
    local srcRace = srcUser.race
    local targetRace = targetUser.race
    if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      targetRace = 2
    end
    if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      srcRace = 2
    end
    if nil == CommonFun.RaceProps[targetRace] then
      return 0
    end
    if nil == CommonFun.RaceProps[srcRace] then
      return 0
    end
    local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
    local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
    local raceparam = 1 + raceInc - raceRed
    if raceparam <= 0.1 then
      raceparam = 0.1
    end
    local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    if MAtkFinal <= AtkFinal then
      local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
      A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
    else
      local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
      A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
    end
  end
  local AttrFunction = srcUser:GetProperty("AttrFunction")
  local bitfunc = CommonFun.getBits(AttrFunction)
  if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
    A = 0
  end
  if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
    A = 0
  end
  if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
    A = -1
  end
  if targetUser:DamageAlways1() then
    A = -1
  end
  return A
end

Self

{
  "id": 132779,
  "BuffName": "Tranquil Restoration (DmgRedu.)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 0,
      "c": 163013,
      "d": 100,
      "type": 3250
    }
  },
  "BuffEffect": {
    "type": "AttrChange",
    "ResultDamRes": {
      "a": 0,
      "b": 0,
      "c": 163013,
      "d": 0.05,
      "type": 3250
    }
  }
}

Self

{
  "id": 132789,
  "BuffName": "Tranquil Restoration",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 0.25,
      "b": 0,
      "type": 6
    },
    "Sp": {
      "a": 0,
      "b": 0.25,
      "c": 0,
      "type": 15
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Formula

{
  "CD": 24,
  "id": 2025010,
  "Buff": {
    "self": [
      132789,
      132779
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2025001,
      "params": [
        25,
        25
      ]
    }
  ],
  "Icon": "skill_2025001",
  "Camps": "Friend",
  "Level": 10,
  "Logic": "SkillNone",
  "DescId": "##315395",
  "NameZh": "##104671",
  "CastAct": "reading_Ninja",
  "Fire_EP": 3,
  "SE_cast": "Skill/ninja_mingjingzhishui",
  "Pvp_buff": {
    "self": [
      132789,
      132779
    ]
  },
  "AttackAct": [
    "use_skill6"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "DCT": 3,
    "type": 4
  },
  "PeakLevel": 5,
  "SE_attack": "Skill/ninja_mingjingzhishui",
  "SkillType": "LeadSkill",
  "Target_EP": 3,
  "Logic_Param": {
    "count": 3,
    "duration": 3,
    "interval": 1,
    "no_select": 1,
    "isTimeTrap": 1,
    "lead_end_buff": [
      132903
    ]
  },
  "Launch_Range": 0
}