Shadow Sacrifice
Lvl: 5 SacrificeShadow CD: 12 sec Skill Delay: 2 sec SP: 30 Cast Time: 5

Sacrifice the nearest Night Shadow. Form a Crows Shield on your body to absorb DMG equivalent to (Dex + Luk) x300. Lasts 6 seconds. It can't be cast without Night Shadow

Lvl: 4 SacrificeShadow CD: 12 sec Skill Delay: 2 sec SP: 30 Cast Time: 5
• Sacrifice the nearest Night Shadow. Form a Crows Shield on your body to absorb DMG equivalent to (Dex + Luk) x240. Lasts 6 seconds. It can't be cast without Night Shadow
Lvl: 3 SacrificeShadow CD: 12 sec Skill Delay: 2 sec SP: 30 Cast Time: 5
• Sacrifice the nearest Night Shadow. Form a Crows Shield on your body to absorb DMG equivalent to (Dex + Luk) x180. Lasts 6 seconds. It can't be cast without Night Shadow
Lvl: 2 SacrificeShadow CD: 12 sec Skill Delay: 2 sec SP: 30 Cast Time: 5
• Sacrifice the nearest Night Shadow. Form a Crows Shield on your body to absorb DMG equivalent to (Dex + Luk) x120. Lasts 6 seconds. It can't be cast without Night Shadow
Lvl: 1 SacrificeShadow CD: 12 sec Skill Delay: 2 sec SP: 30 Cast Time: 5
• Sacrifice the nearest Night Shadow. Form a Crows Shield on your body to absorb DMG equivalent to (Dex + Luk) x60. Lasts 6 seconds. It can't be cast without Night Shadow

Self 6390

function CommonFun.calcBuff_6390(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv = srcUser:GetLernedSkillLevel(4208_SORCERER:SHADOW_SACRIFICE)
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local GemNew = srcUser:GetGemValue(91151_SHADOW_SACRIFICE_ABSORBS_PERCENTAGE_MORE_DMG)
  local GemDamNew = 1 + GemNew / 100000
  local A = (Dex + Luk) * skilllv * 60 * GemDamNew
  return A
end

Self 6400

function CommonFun.calcBuff_6400(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local skilllv = srcUser:GetLernedSkillLevel(a)
  local A = MaxHp * skilllv * b
  return A
end

Self

{
  "id": 132070,
  "BuffDesc": "Absorbs DMG",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Dark Shadow (Absorbs DMG)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AbsorbDamage",
    "AbsorbAmount": {
      "type": 6390
    },
    "end_extra_buff": [
      132071
    ]
  },
  "BuffStateID": 132070
}

Self

{
  "id": 132071,
  "BuffName": "Dark Shadow Dedication (HP Recover)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 4223,
      "b": 0.03,
      "type": 6400
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Formula

{
  "CD": 12,
  "id": 4208005,
  "Buff": {
    "self": [
      132070
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 4208000,
      "params": [
        300
      ]
    }
  ],
  "Icon": "skill_4208001",
  "Camps": "Friend",
  "Level": 5,
  "Logic": "SkillNone",
  "DescId": "##171566",
  "NameZh": "##169972",
  "CastAct": "reading",
  "DelayCD": 2,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1350
    }
  ],
  "Pvp_buff": {
    "self": [
      132070
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 5,
    "type": 2
  },
  "SE_attack": "Skill/Tnts_Dolor_die",
  "SkillCost": {
    "sp": 30
  },
  "SkillType": "SacrificeShadow",
  "Target_EP": 3,
  "Launch_Range": 0,
  "PreCondition": [
    {
      "type": 13,
      "npctype": "ShadowNpc"
    }
  ],
  "ExtraMaxLevel": 0
}