Self Destruction
Lvl: 10 Suicide Magic CD: 5 sec Range: 2 Cast Time: 3

Formula

function CommonFun.calcDamage_8001(srcUser, targetUser, params, damageParam, logger)
  local damChangePer = damageParam.damChangePer
  local damChangePer1 = damageParam.damChangePer1
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * damChangePer + damChangePer1
  if A <= 1 then
    return 1
  end
  return A
end

Formula

{
  "CD": 5,
  "id": 70170010,
  "Cost": 0,
  "Icon": "skill_16001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 8001,
      "damChangePer": 0,
      "damChangePer1": 9999
    }
  ],
  "NameZh": "##158149",
  "CastAct": "wait",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "SE_fire": "Skill/FireBall_fire",
  "RollType": 2,
  "AttackAct": [
    "attack"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 3,
    "type": 2
  },
  "SkillType": "Suicide",
  "Target_EP": 3,
  "Logic_Param": {
    "range": 3
  },
  "Launch_Range": 2
}