SkillUndead Element Damage
Undead Element Damage
Lvl: 10
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk400% Dmg to an enemy.
Lvl: 1
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk220% Dmg to an enemy.

Lvl: 2
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk240% Dmg to an enemy.

Lvl: 3
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk260% Dmg to an enemy.

Lvl: 4
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk280% Dmg to an enemy.

Lvl: 5
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk300% Dmg to an enemy.

Lvl: 6
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk320% Dmg to an enemy.

Lvl: 7
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk340% Dmg to an enemy.

Lvl: 8
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk360% Dmg to an enemy.

Lvl: 9
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk380% Dmg to an enemy.

Lvl: 10
Attack
Phsyical
CD: 5 sec
Range: 1.5
Deals Atk400% Dmg to an enemy.

Formula
function CommonFun.calcDamage_20(srcUser, targetUser, params, damageParam, logger)
  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 IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  if A <= 1 then
    return 1
  end
  return A
end
Raw
{
  "CD": 5,
  "id": 100240010,
  "Desc": [
    {
      "id": 100240010,
      "params": [
        400
      ]
    }
  ],
  "Icon": "skill_10030001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 20,
      "damChangePer": 4,
      "elementparam": 9
    }
  ],
  "DescId": "##171621",
  "NameZh": "##149465",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "Fire_EP": 3,
  "RollType": 1,
  "AttackAct": [
    "attack"
  ],
  "Attack_EP": 3,
  "SkillType": "Attack",
  "Target_EP": 3,
  "Launch_Range": 1.5
}