Soul Stabbing Spear
Lvl: 10 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 54 Range: 2

The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x2520% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons

Lvl: 9 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 52 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x2400% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 8 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 50 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x2280% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 7 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 48 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x2160% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 6 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 46 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x2040% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 5 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 44 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x1920% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 4 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 42 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x1800% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 3 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 40 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x1680% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 2 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 38 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x1560% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons
Lvl: 1 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 36 Range: 2
• The Runemaster stabs forward continuously, causing Dark DMG which equals to ATK x1440% to single enemies, and 20% extra DMG to Demi-Human race. 5 stacks of [Deep Cut] can be stacked, and must be equipped with Spear weapons

Formula

function CommonFun.calcDamage_1402(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 Sign = 1
  local Num1 = targetUser:GetBuffLayer(117660_DEEP_CUT_:MAX_STACK_5)
  local fromid = targetUser:GetBuffFromID(117660_DEEP_CUT_:MAX_STACK_5)
  local guid = srcUser:GetGuid()
  local skilllv_1 = srcUser:GetLernedSkillLevel(1267_ASSASSIN:DEEP_CUT)
  skilllv_1 = math.min(skilllv_1, 5)
  local GemValue = srcUser:GetGemValue(11131_DAMAGE_CAUSED_BY_EACH_DEEP_CUT_STACK_PERCENTAGE)
  local Fifth = 0
  if srcUser:HasBuffID(90002003_STORM_PIKE_R4_:MAX_STACK_0) then
    Fifth = 0.01
  end
  if fromid == guid then
    Sign = 1 + (skilllv_1 * 0.01 + 0.02 + GemValue / 100000 + Fifth) * Num1
  end
  local skilllv_ha = srcUser:GetLernedSkillLevel(3005_BLACKSMITH:DARK_KNIGHT)
  local StateEffect = targetUser:GetProperty("StateEffect")
  local bits2 = CommonFun.getBits(StateEffect)
  local Heian = 1
  if bits2[CommonFun.StateEffect.Dark] == 1 then
    Heian = 1 + skilllv_ha * 0.04
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Sign * Heian
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 1266_ASSASSIN:HUNDRED_SPEARS then
    local Num = srcUser:GetRunePoint(14040_AESIR_HUNDRED_SPEARS_DAMAGE_6)
    local RuneDamage = 1 + Num * 0.06
    local calcfbzq = 1
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    if 10 <= RefineLv and srcUser:HasBuffID(90002003_STORM_PIKE_R4_:MAX_STACK_0) then
      calcfbzq = calcfbzq + 0.15
    end
    local GemValue = srcUser:GetGemValue(11071_HUNDRED_SPEARS_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * RuneDamage * calcfbzq * GemDam
  end
  if skillID == 3006_BLACKSMITH:SOUL_STABBING_SPEAR then
    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 skilllv_ch = srcUser:GetLernedSkillLevel(3021_BLACKSMITH:SOUL_STABBING_SPEAR_SOUL_BREAKING)
    local ch = 1
    if targetRace == 2 then
      ch = 1.2 + skilllv_ch * 0.05
    end
    local sizeCorrection = 1
    if nil ~= CommonFun.Shape and CommonFun.Shape.L == targetUser.shape and srcUser:HasBuffID(90004184_SOUL_SLAYER_SPEAR_1_T5_:MAX_STACK_0) then
      sizeCorrection = 1.5
    end
    A = A * ch * sizeCorrection
  end
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 124122,
  "BuffName": "Skill increases Frenzy",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 124120,
        "layer": 5
      }
    ]
  }
}

Enemy

{
  "id": 124150,
  "BuffName": "Soul Stabbing Spear adds Deep Cut",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 117660,
        "layer": 5
      }
    ]
  }
}

Enemy

{
  "id": 124151,
  "BuffName": "Soul Stabbing Spear adds Deep Cut",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 117661,
        "layer": 5
      }
    ]
  }
}

Formula

{
  "CD": 1,
  "id": 3006010,
  "Buff": {
    "self": [
      124122
    ],
    "enemy": [
      124150,
      124151
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3006000,
      "params": [
        2520
      ]
    }
  ],
  "Icon": "skill_3006001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 1402,
      "damChangePer": 25.2,
      "elementparam": 7
    }
  ],
  "DescId": "##170703",
  "NameZh": "##169231",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1580
    }
  ],
  "Pvp_buff": {
    "self": [
      124122
    ],
    "enemy": [
      124150,
      124151
    ]
  },
  "RollType": 1,
  "SkillHit": 0.3,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/skill_weapon_lance_soul_attack",
  "SkillCost": {
    "sp": 54
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Launch_Range": 2,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 170
    }
  ],
  "ExtraMaxLevel": 0
}