
Shadow Stepper
Lvl: 5
Attack
Physical
CD: 5 sec
Skill Delay: 2 sec
SP: 90
Inflict Physical DMG of ATK *1680% on nearby enemy units. The DMG doubles for hiding targets. All hiding enemy units within range will be uncovered
Lvl: 4
Attack
Physical
CD: 5 sec
Skill Delay: 2 sec
SP: 80
• Inflict Physical DMG of ATK *1460% on nearby enemy units. The DMG doubles for hiding targets. All hiding enemy units within range will be uncovered
Lvl: 3
Attack
Physical
CD: 5 sec
Skill Delay: 2 sec
SP: 70
• Inflict Physical DMG of ATK *1240% on nearby enemy units. The DMG doubles for hiding targets. All hiding enemy units within range will be uncovered
Lvl: 2
Attack
Physical
CD: 5 sec
Skill Delay: 2 sec
SP: 60
• Inflict Physical DMG of ATK *1020% on nearby enemy units. The DMG doubles for hiding targets. All hiding enemy units within range will be uncovered
Lvl: 1
Attack
Physical
CD: 5 sec
Skill Delay: 2 sec
SP: 50
• Inflict Physical DMG of ATK *800% on nearby enemy units. The DMG doubles for hiding targets. All hiding enemy units within range will be uncovered
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
Enemy
{
"id": 132760,
"BuffName": "Shadow Stepper (Hidden Break)",
"BuffRate": {
"Odds": 100
},
"Condition": {
"time": 1,
"type": "AfterTime"
},
"BuffEffect": {
"type": "Disperse",
"value": "Hide"
}
}
Formula
{
"CD": 5,
"id": 2024005,
"Buff": {
"enemy": [
132760
]
},
"Cost": 1,
"Desc": [
{
"id": 2024000,
"params": [
1680
]
}
],
"Icon": "skill_2024001",
"Camps": "Enemy",
"Level": 5,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 16302,
"damChangePer": 16.8
}
],
"DescId": "##534052",
"NameZh": "##533814",
"SE_hit": "Skill/FireWall_hit",
"DamTime": {
"type": 1,
"value": 2
},
"DelayCD": 2,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
132760
]
},
"RollType": 1,
"SkillHit": 0.5,
"AttackAct": [
"use_skill6"
],
"Attack_EP": 2,
"SE_attack": "Skill/ninja_taying",
"SkillCost": {
"sp": 90
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"E_Attack_On": 1,
"Logic_Param": {
"range": 5,
"range_num": 8,
"select_hide": 1
},
"Launch_Range": 0
}