Spiral Pierce
Lvl: 20 Attack Physical CD: 4 sec SP: 30 Range: 2

Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 800% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.

Lvl: 19 Attack Physical CD: 4 sec SP: 29 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 760% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 18 Attack Physical CD: 4 sec SP: 28 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 720% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 17 Attack Physical CD: 4 sec SP: 27 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 680% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 16 Attack Physical CD: 4 sec SP: 26 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 640% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 15 Attack Physical CD: 4 sec SP: 25 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 600% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 14 Attack Physical CD: 4 sec SP: 24 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 560% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 13 Attack Physical CD: 4 sec SP: 23 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 520% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 12 Attack Physical CD: 4 sec SP: 22 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 480% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 11 Attack Physical CD: 4 sec SP: 21 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 440% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 10 Attack Physical CD: 4 sec SP: 20 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 400% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 9 Attack Physical CD: 4 sec SP: 19 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 360% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 8 Attack Physical CD: 4 sec SP: 18 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 320% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 7 Attack Physical CD: 4 sec SP: 17 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 280% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 6 Attack Physical CD: 4 sec SP: 16 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 240% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 5 Attack Physical CD: 4 sec SP: 15 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 200% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 4 Attack Physical CD: 4 sec SP: 14 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 160% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 3 Attack Physical CD: 4 sec SP: 13 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 120% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 2 Attack Physical CD: 4 sec SP: 12 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 80% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.
Lvl: 1 Attack Physical CD: 4 sec SP: 11 Range: 2
• Attacks an enemy with the spinning spear, dealing (Str + Atk * Weapon type + Refine Atk + Base Level) * 40% Dmg. Stuns the target for 2 sec, deals more damage to small size monster. Spear type weapons are required.

Aesir

• Spiral Pierce -Range Skill range of [Spiral Pierce] +0.5m

Formula

function CommonFun.calcDamage_1301(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 WeaponType = srcUser:GetEquipedWeaponType()
  local BaseLv = srcUser.BaseLv
  local Refine = srcUser:GetProperty("Refine")
  local damChangePer = damageParam.damChangePer
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  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)
  local sizeCorrection = 1
  if nil ~= CommonFun.Shape then
    if CommonFun.Shape.S == targetUser.shape then
      sizeCorrection = 1.3
    elseif CommonFun.Shape.M == targetUser.shape then
      sizeCorrection = 1
    elseif CommonFun.Shape.L == targetUser.shape then
      sizeCorrection = 0.8
    end
  end
  local WeaponType_value = 0
  if WeaponType == 170 then
    WeaponType_value = 2
  else
    WeaponType_value = 0.5
  end
  local Weapon = srcUser:GetEquipedID(7_WEAPON)
  local calcfbzq = 1
  if Weapon == 40041_STORM_PIKE_1 or Weapon == 140041_STORM_PIKE_2 then
    calcfbzq = 1.1
  end
  if Weapon == 40055_SOUL_SPEAR_1 or Weapon == 140055_SOUL_SPEAR_2 then
    calcfbzq = calcfbzq + 0.15
  end
  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)
  if fromid == guid then
    Sign = 1 + (skilllv_1 * 0.01 + 0.02 + GemValue / 100000) * Num1
  end
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local GemValue = srcUser:GetGemValue(11072_SPIRAL_PIERCE_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue / 100000
  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 = (((Str / 4) ^ 2 + WeaponType_value * AtkFinal * elementparam * bodyparam) * damChangePer + Refine * 15 + BaseLv * 15) * raceparam * bossparam * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) * (1 - DamReduc2) * sizeCorrection * elementparam2 * bossparam2 * calcfbzq * Sign * GemDam * Heian
  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": 80140,
  "BuffName": "Spiral Pierce[Stunning]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Enemy

{
  "id": 117660,
  "BuffDesc": "Takes more damage from Knight Spear skills",
  "BuffIcon": "skillbuff_1267001",
  "BuffName": "Deep Cut",
  "BuffRate": {
    "Odds": {
      "a": 1267,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "limit_layer": 5,
    "ResultDamInc": {
      "a": 0,
      "b": 0,
      "c": 11132,
      "type": 5020
    }
  }
}

Enemy

{
  "id": 117661,
  "BuffDesc": "Decrease Def",
  "BuffIcon": "skillbuff_1267001",
  "BuffName": "Deep Cut [Peak] (cfun)",
  "BuffRate": {
    "Odds": {
      "a": 1267,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "DefPer": {
      "a": 1267,
      "b": -0.01,
      "c": 0.05,
      "type": 8
    },
    "limit_layer": 5,
    "ResultDamInc": {
      "a": 0,
      "b": 0,
      "c": 11132,
      "type": 5020
    }
  }
}

Formula

{
  "CD": 4,
  "id": 28020,
  "Buff": {
    "self": [
      124122
    ],
    "enemy": [
      80140,
      117660,
      117661
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 28000,
      "params": [
        800,
        2
      ]
    }
  ],
  "Icon": "skill_28001",
  "Camps": "Enemy",
  "Level": 20,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 1301,
      "damChangePer": 8
    }
  ],
  "DescId": "##170753",
  "NameZh": "##159303",
  "SE_hit": "Skill/skill_weapon_sword_hit",
  "CastAct": "skill_ready",
  "DamTime": {
    "type": 1,
    "value": 4
  },
  "DelayCD": 0.5,
  "Fire_EP": 3,
  "SE_cast": "Skill/Magic_cast",
  "Pvp_buff": {
    "self": [
      124122
    ],
    "enemy": [
      80140,
      117660,
      117661
    ]
  },
  "RollType": 1,
  "SkillHit": 0.5,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 5,
  "Lead_Type": {
    "type": 1,
    "ReadyTime": 0.5
  },
  "PeakLevel": 10,
  "SE_attack": "Skill/skill_weapon_spear_stab_attack",
  "SkillCost": {
    "sp": 30
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Launch_Range": 2,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 170
    }
  ]
}