HP Alight
Lvl: 15 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1

Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 2% self Max HP to deal (4%Max HP +20%Max SP +1000) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used

Lvl: 14 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 2% self Max HP to deal (4%Max HP +20%Max SP +900) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 13 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 2% self Max HP to deal (4%Max HP +20%Max SP +800) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 12 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 2% self Max HP to deal (4%Max HP +20%Max SP +700) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 11 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 2% self Max HP to deal (4%Max HP +20%Max SP +600) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 10 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +500) real damage to nearby enemies. Lasts 30 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 9 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +450) real damage to nearby enemies. Lasts 28 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 8 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +400) real damage to nearby enemies. Lasts 26 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 7 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +350) real damage to nearby enemies. Lasts 24 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 6 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +300) real damage to nearby enemies. Lasts 22 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 5 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +250) real damage to nearby enemies. Lasts 20 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 4 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +200) real damage to nearby enemies. Lasts 18 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 3 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +150) real damage to nearby enemies. Lasts 16 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 2 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +100) real damage to nearby enemies. Lasts 14 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used
Lvl: 1 Buff CD: 30 sec Skill Delay: 1.5 sec SP: 25 Range: 1
• Strikes enemies heavily at the cost of knight’s HP. Each 1 sec, reduces 1% self Max HP to deal (2%Max HP +10%Max SP +50) real damage to nearby enemies. Lasts 12 sec. Becomes invalid when HP is <10% and won’t restore HP and SP naturally if used

Self 62

function CommonFun.calcBuff_62(srcUser, targetUser, a, b, c, d, lv)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local mapid, maptype = srcUser:GetMapInfo()
  if srcUser == nil or targetUser == nil then
    return 0
  end
  if maptype == PVP_MAPS then
    MaxHp = MaxHp * 0.25
  end
  local A = MaxHp * a
  return A
end

Self 55

function CommonFun.calcBuff_55(srcUser, targetUser, a, b, c, d, lv)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local MaxSp = srcUser:GetProperty("MaxSp")
  local skilllv_1 = srcUser:GetLernedSkillLevel(69_SWORDSMAN:HP_ALIGHT)
  local Buff = srcUser:HasBuffID(80000410_PECO_PECO_CARD_DEPOSITE_:MAX_STACK_0)
  local Card1 = srcUser:GetEquipCardNum(2, 20041_PECO_PECO_CARD)
  local mapid, maptype = srcUser:GetMapInfo()
  if srcUser == nil or targetUser == nil then
    return 0
  end
  if maptype == PVP_MAPS then
    MaxHp = MaxHp * 0.25
  end
  local A = MaxHp * a + MaxSp * b + skilllv_1 * c + (2 * skilllv_1 - 10) * d
  if Buff == true and 0 < Card1 then
    return A * 1.1
  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": 80223,
  "BuffName": "HP Alight (Peak)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "DelBuffID": [
    80220
  ],
  "BuffEffect": {
    "Hp": {
      "a": -0.02,
      "type": 62
    },
    "type": "HSPChange",
    "AttrEffect": [
      3,
      4
    ]
  },
  "BuffStateID": 95410
}

Self

{
  "id": 80224,
  "BuffName": "HP Alight (Peak)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "DelBuffID": [
    80221
  ],
  "BuffEffect": {
    "id": [
      80227
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 80225,
  "BuffName": "HP Alight (Peak)",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "HpPerLess",
    "value": 10
  },
  "DelBuffID": [
    80222
  ],
  "BuffEffect": {
    "id": [
      80223,
      80224
    ],
    "type": "DelBuff"
  }
}

Self

{
  "id": 80227,
  "BuffName": "HP Alight (peak) (damage)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": -0.04,
      "b": -0.2,
      "c": 0,
      "d": -50,
      "type": 55
    },
    "type": "HSPChange"
  }
}

Formula

{
  "CD": 30,
  "id": 69015,
  "Buff": {
    "self": [
      80223,
      80224,
      80225
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 69000,
      "params": [
        1,
        2,
        4,
        20,
        1000,
        30,
        10
      ]
    }
  ],
  "Icon": "skill_69001",
  "Camps": "Friend",
  "Level": 15,
  "Logic": "SkillNone",
  "DescId": "##170295",
  "NameZh": "##158411",
  "DelayCD": 1.5,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      80223,
      80224,
      80225
    ]
  },
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "PeakLevel": 5,
  "SE_attack": "Skill/skill_magic_lighthp_attack",
  "SkillCost": {
    "sp": 25
  },
  "SkillType": "Buff",
  "Target_EP": 3,
  "DamageType": 4,
  "Launch_Range": 1,
  "AutoCondition": [
    {
      "type": 11,
      "value": 70,
      "no_target": 1
    }
  ]
}