Death Stealth
Lvl: 10 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 60 Range: 7

Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x150%) to the target. Daggers must be equipped to use this skill.

Lvl: 9 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 57 Range: 7
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x145%) to the target. Daggers must be equipped to use this skill.
Lvl: 8 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 54 Range: 6
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x140%) to the target. Daggers must be equipped to use this skill.
Lvl: 7 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 51 Range: 6
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x135%) to the target. Daggers must be equipped to use this skill.
Lvl: 6 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 48 Range: 5
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x130%) to the target. Daggers must be equipped to use this skill.
Lvl: 5 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 45 Range: 5
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x125%) to the target. Daggers must be equipped to use this skill.
Lvl: 4 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 42 Range: 4
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x120%) to the target. Daggers must be equipped to use this skill.
Lvl: 3 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 39 Range: 4
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x115%) to the target. Daggers must be equipped to use this skill.
Lvl: 2 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 36 Range: 3
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x110%) to the target. Daggers must be equipped to use this skill.
Lvl: 1 ShadowAttack Physical CD: 3 sec Skill Delay: 1 sec SP: 33 Range: 3
• Phantom Dancer and all Night Shadows appear beside the target, causing DMG ([Back Stab] x105%) to the target. Daggers must be equipped to use this skill.

Formula

function CommonFun.calcDamage_9205(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 Hp2 = targetUser:GetProperty("Hp")
  local MaxHp2 = targetUser:GetProperty("MaxHp")
  local damChangePer = damageParam.damChangePer
  local AttrEffect = srcUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  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 Num1 = srcUser:GetRunePoint(90080_AESIR_DAMAGE_OF_BACK_STAB_8)
  local RuneDamage = Num1 * 0.08 + 1
  local kerd = 1
  if srcUser:HasBuffID(40672_CALDER_DAGGER_1_:MAX_STACK_0) then
    kerd = 1.5
  end
  local yake2 = 1
  if srcUser:HasBuffID(90002160_TOOTH_BLADE_R1_:MAX_STACK_0) then
    yake2 = 1.15
  end
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  local Weapon = srcUser:GetEquipedID(7_WEAPON)
  local targetRace = targetUser.race
  if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
  elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
    targetRace = 2
  end
  local Hand = 1
  if targetRace == 2 and (Weapon == 40744_SCALPEL_1 or Weapon == 140744_SCALPEL_2 or Weapon == 40745_TOOTH_BLADE_1 or Weapon == 140745_TOOTH_BLADE_2) then
    if 10 <= RefineLv and RefineLv < 15 then
      Hand = 1.05
    elseif 15 <= RefineLv then
      Hand = 1.15
    end
  end
  if targetRace == 2 and srcUser:HasBuffID(90002161_TOOTH_BLADE_R2_:MAX_STACK_0) and 5 <= RefineLv then
    Hand = Hand + 0.05
  end
  if srcUser:HasBuffID(22920_EXPERT_SURGEON_:MAX_STACK_0) then
    yake2 = 1.15 + RefineLv * 0.01
  end
  if targetRace == 2 and srcUser:HasBuffID(22920_EXPERT_SURGEON_:MAX_STACK_0) then
    if 5 <= RefineLv and RefineLv < 10 then
      Hand = Hand + 0.05
    elseif 10 <= RefineLv and RefineLv < 15 then
      Hand = Hand + 0.05 + 0.05
    elseif 15 <= RefineLv then
      Hand = Hand + 0.05 + 0.05 + 0.1
    end
  end
  local yake = 0
  if targetRace == 2 and srcUser:HasBuffID(24380_THIEF_CLOTHES_:MAX_STACK_0) and (srcUser:HasBuffID(40690_TOOTH_BLADE_1_:MAX_STACK_0) or srcUser:HasBuffID(22920_EXPERT_SURGEON_:MAX_STACK_0)) then
    yake = 0.5
  end
  if targetRace == 2 and srcUser:HasBuffID(42490_BREATH_HOLDER_S_ARMOR_:MAX_STACK_0) and (srcUser:HasBuffID(40690_TOOTH_BLADE_1_:MAX_STACK_0) or srcUser:HasBuffID(22920_EXPERT_SURGEON_:MAX_STACK_0)) then
    yake = 0.5
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRingSD.id ~= 0 and targetRace == 2 and srcUser:HasBuffLayer(42490, EBUFFERLAYER_SHADOW) and (srcUser:HasBuffID(40690_TOOTH_BLADE_1_:MAX_STACK_0) or srcUser:HasBuffID(22920_EXPERT_SURGEON_:MAX_STACK_0)) then
    yake = 0.5
  end
  local Enemy = 1
  local skilllv_1 = srcUser:GetLernedSkillLevel(1145_ARCANE_MASTER:PICK_EM_OFF)
  if 0 < skilllv_1 and 1 >= srcUser:GetRangeEnemy(3) then
    Enemy = 1 + skilllv_1 * 0.03
    if srcUser:HasBuffID(20910080_BACK_STAB_IGNORES_MITIGATION_:MAX_STACK_0) then
      DefReduc = 1
      RefineDamReduc = 0
    end
  end
  local GemValue = srcUser:GetGemValue(91041_BACK_STAB_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue / 100000
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local yx = 1
  if skillID == 4210_SORCERER:DEATH_STEALTH then
    local skilllv_bc = srcUser:GetLernedSkillLevel(480_RUNEMASTER:BACK_STAB)
    local skilllv_yx = srcUser:GetLernedSkillLevel(4210_SORCERER:DEATH_STEALTH)
    damChangePer = skilllv_bc * 0.6 + 3
    local skilllv_xjn = srcUser:GetLernedSkillLevel(4224_SORCERER:DEATH_STEALTH_SHADOW_ATK)
    local ShadowNum = srcUser:GetPetCount("ShadowNpc")
    yx = (1 + skilllv_yx * 0.05) * (1 + skilllv_xjn * 0.05 * ShadowNum)
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + yake) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) * RuneDamage - Vit2 * (1 + VitPer2)) * kerd * Hand * Enemy * yake2 * GemDam * yx
  if A <= 1 then
    return 1
  end
  local Hiding = srcUser:GetProperty("Hiding")
  if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 and (Hiding == 1 or bits[CommonFun.AttrEffect.HideStrengthEffect] == 1) then
    return A * 1.5 * 2
  elseif Hiding == 1 or bits[CommonFun.AttrEffect.HideStrengthEffect] == 1 then
    return A * 2
  elseif bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
    return A * 1.5
  end
  return A
end

Self

{
  "id": 90004936,
  "BuffDesc": "Hiding: Can't be detected by enemies",
  "BuffIcon": "skillbuff_177001",
  "BuffName": "23",
  "BuffRate": {
    "Odds": {
      "a": 90004934,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "Hide",
    "Hiding": 1,
    "AttrEffect": [
      17
    ]
  },
  "BuffStateID": 95300
}

Enemy

{
  "id": 90004935,
  "BuffDesc": "Human Race DMG Reduc. decreases",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "23",
  "BuffRate": {
    "Odds": {
      "a": 90004934,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 0
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "DemiHumanResPer": -0.1
  }
}

Formula

{
  "CD": 3,
  "id": 4210010,
  "Buff": {
    "self": [
      90004936
    ],
    "enemy": [
      90004935
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 4210000,
      "params": [
        150
      ]
    }
  ],
  "Icon": "skill_4210001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 9205,
      "damChangePer": 0
    }
  ],
  "DescId": "##171373",
  "NameZh": "##169998",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 2100
    }
  ],
  "Pvp_buff": {
    "self": [
      90004936
    ],
    "enemy": [
      90004935
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/Phantom_luanwu",
  "SkillCost": {
    "sp": 60
  },
  "SkillType": "ShadowAttack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "pre_attack": {
      "type": 4,
      "action": "attack",
      "effect": "Eff_ShadowDancing_atk,none",
      "no_track": 1,
      "initSpeed": 30,
      "speedLimit": 60,
      "acceleration": 20
    }
  },
  "Launch_Range": 7,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 250
    }
  ],
  "ExtraMaxLevel": 1,
  "AutoCondition_Groove": 1
}