Cross Slash
Lvl: 10 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 20 Range: 1.5

Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *2060%. A Sword must be equipped

Lvl: 9 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 19 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1920%. A Sword must be equipped
Lvl: 8 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 18 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1780%. A Sword must be equipped
Lvl: 7 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 17 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1640%. A Sword must be equipped
Lvl: 6 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 16 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1500%. A Sword must be equipped
Lvl: 5 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 15 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1360%. A Sword must be equipped
Lvl: 4 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 14 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1220%. A Sword must be equipped
Lvl: 3 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 13 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *1080%. A Sword must be equipped
Lvl: 2 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 12 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *940%. A Sword must be equipped
Lvl: 1 Attack Physical CD: 1 sec Skill Delay: 1 sec SP: 11 Range: 1.5
• Perform a cross cutting on a single enemy unit, inflicting Physical DMG of ATK *800%. A Sword must be equipped

Formula

function CommonFun.calcDamage_16302(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 AttrEffect2 = srcUser:GetProperty("AttrEffect")
  local bits2 = CommonFun.getBits(AttrEffect2)
  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, params)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local damChangePer = damageParam.damChangePer
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2024_SNIPER:SHADOW_STEPPER then
    local Hiding = targetUser:GetProperty("Hiding")
    local GemValue = srcUser:GetGemValue(163151_SHADOW_STEPPER_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * GemDam
    if Hiding == 1 then
      A = A * 2
    end
  end
  if skillID == 2018_SNIPER:SHADOW_WARRIOR then
    local skilll = srcUser:GetLernedSkillLevel(2039_SNIPER:SHADOW_WARRIOR)
    damChangePer = skilll * 1.5
    A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
    local Rune = srcUser:GetRunePoint(163044_AESIR_SHADOW_WARRIOR_DMG_8)
    local GemValue = srcUser:GetGemValue(163042_SHADOW_WARRIOR_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * (1 + Rune * 0.08) * GemDam
    if srcUser:HasBuffID(21630080_SHADOW_WARRIOR_CAN_CAST_CRITICAL_ATK_:MAX_STACK_0) then
      local Cri = srcUser:GetProperty("Cri")
      local CriRes2 = targetUser:GetProperty("CriRes")
      local CriDamPer = srcUser:GetProperty("CriDamPer")
      local CriDefPer2 = targetUser:GetProperty("CriDefPer")
      local Rate = Cri - CriRes2
      if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
        return A * (1.5 + CriDamPer - CriDefPer2), CommonFun.DamageType.Crit
      end
    end
  end
  if skillID == 2035_SNIPER:CROSS_SLASH then
    local GemValue = srcUser:GetGemValue(163121_CROSS_SLASH_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * GemDam
  end
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 90004625,
  "BuffDesc": "Suffer no lethal threats",
  "BuffIcon": "skillbuff_14001",
  "BuffName": "13188",
  "BuffRate": {
    "Odds": {
      "a": 90004624,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "NoStiff": 1,
    "NoEffectMove": 1
  }
}

Enemy

{
  "id": 133270,
  "BuffName": "Cross Slash (Stun)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 0,
      "c": 163122,
      "type": 5010
    }
  },
  "BuffEffect": {
    "id": [
      133271
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 133271,
  "BuffName": "Stun",
  "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
}

Formula

{
  "CD": 1,
  "id": 2035010,
  "Buff": {
    "self": [
      90004625
    ],
    "enemy": [
      133270
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2035000,
      "params": [
        2060
      ]
    }
  ],
  "Icon": "skill_2035001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 16302,
      "damChangePer": 20.6
    }
  ],
  "DescId": "##533900",
  "NameZh": "##298615",
  "SE_hit": "Skill/sword_hit",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      90004625
    ],
    "enemy": [
      133270
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/ninja_shiwenzizhan",
  "SkillCost": {
    "sp": 20
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Launch_Range": 1.5,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 180
    }
  ]
}