Asphyxia
Lvl: 5 Buff CD: 24 sec Skill Delay: 1 sec SP: 150 Cast Time: 4

Lose your HP to 1, and free from all DMG, lasting for 8 seconds. CD time is fixed and cannot be reduced

Lvl: 4 Buff CD: 24 sec Skill Delay: 1 sec SP: 140 Cast Time: 4
• Lose your HP to 1, and free from all DMG, lasting for 7 seconds. CD time is fixed and cannot be reduced
Lvl: 3 Buff CD: 24 sec Skill Delay: 1 sec SP: 130 Cast Time: 4
• Lose your HP to 1, and free from all DMG, lasting for 6 seconds. CD time is fixed and cannot be reduced
Lvl: 2 Buff CD: 24 sec Skill Delay: 1 sec SP: 120 Cast Time: 4
• Lose your HP to 1, and free from all DMG, lasting for 5 seconds. CD time is fixed and cannot be reduced
Lvl: 1 Buff CD: 24 sec Skill Delay: 1 sec SP: 110 Cast Time: 4
• Lose your HP to 1, and free from all DMG, lasting for 4 seconds. CD time is fixed and cannot be reduced

Self 6010

function CommonFun.calcBuff_6010(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Hp = srcUser:GetProperty("Hp")
  local A = -(Hp - 1)
  return A
end

Self

{
  "id": 124200,
  "BuffName": "Asphyxia (invincible)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AttrChange",
    "Vampiric": {
      "a": 0,
      "b": 0,
      "c": 11152,
      "type": 5020
    },
    "AttrEffect": [
      1,
      2
    ]
  },
  "BuffStateID": 124200
}

Self

{
  "id": 124201,
  "BuffName": "Asphyxia (invincible)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "LockHp",
    "locktype": 2
  }
}

Self

{
  "id": 124202,
  "BuffName": "Asphyxia (reduces HP to 1)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 6010
    },
    "type": "HSPChange",
    "end_extra_buff": [
      124201
    ]
  }
}

Self

{
  "id": 124203,
  "BuffName": "Asphyxia (Undead)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "Undead"
  }
}

Self

{
  "id": 124204,
  "BuffName": "Asphyxia (Immunize crowd control effects)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "ImmuneStatus",
    "status": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12
    ]
  }
}

Formula

{
  "CD": 24,
  "id": 3013005,
  "Buff": {
    "self": [
      124200,
      124202,
      124203,
      124204
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3013000,
      "params": [
        8
      ]
    }
  ],
  "Icon": "skill_3013001",
  "Camps": "Friend",
  "FixCD": 1,
  "Level": 5,
  "Logic": "SkillNone",
  "DescId": "##171095",
  "NameZh": "##169774",
  "CastAct": "reading",
  "DelayCD": 1,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1020
    }
  ],
  "Pvp_buff": {
    "self": [
      124200,
      124202,
      124203,
      124204
    ]
  },
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 4,
    "type": 2
  },
  "SE_attack": "Skill/skill_magic_quickwave_attack",
  "SkillCost": {
    "sp": 150
  },
  "SkillType": "Buff",
  "Target_EP": 3,
  "Launch_Range": 0,
  "AutoCondition": [
    {
      "time": 28,
      "type": 1,
      "no_target": 1
    },
    {
      "type": 8,
      "no_target": 1
    }
  ],
  "ExtraMaxLevel": 0
}