Level 10
##483000
Skill #483001
Hijack a random enemy player and move with them to a random location.
Level 10
##483000
Level 9
##483000
Level 8
##483000
Level 7
##483000
Level 6
##483000
Level 5
##483000
Level 4
##483000
Level 3
##483000
Level 2
##483000
Level 1
##483000
Formulas & functions
Formula source
function CommonFun.calcBuff_160(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local SlowAtk = srcUser:GetProperty("SlowAtk")
local SlowDef2 = targetUser:GetProperty("SlowDef")
local SlowDam = 1 + SlowAtk - SlowDef2
if SlowDam <= 0 then
SlowDam = 0
end
local StateAtk = srcUser:GetProperty("StateAtk")
local StateDef2 = targetUser:GetProperty("StateDef")
local StateDam = 1 + StateAtk - StateDef2
if StateDam <= 0 then
StateDam = 0
end
local A = (lv * a + b) * SlowDam * StateDam * CommonFun.calcAttrSlowRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endFormula source
function CommonFun.calcDamage_9204(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 A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 481 then
local Num1 = srcUser:GetRunePoint(90060)
local RuneDamage1 = Num1 * 0.2 + 1
A = A * RuneDamage1
end
if skillID == 483 then
local Num2 = srcUser:GetRunePoint(90100)
local RuneDamage2 = Num2 * 0.1 + 1
A = A * RuneDamage2
end
if skillID == 487 and srcUser:HasBuffID(40672) then
A = A * 1.5
end
if A <= 1 then
return 1
end
if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
return A * 1.5
end
return A
endSkill JSON (Level 10)
{
"id": 483010,
"NameZh": "胁持",
"Level": 10,
"Icon": "skill_483001",
"Cost": 1,
"Desc": [
{
"id": 483000,
"params": [
560
]
}
],
"RollType": 1,
"DamageType": 1,
"SkillType": "Seize",
"Camps": "Enemy",
"Launch_Range": 2,
"Fire_EP": 3,
"Target_EP": 1,
"Attack_EP": 3,
"CD": 3,
"SkillCost": {
"sp": 30
},
"DelayCD": 2,
"Logic": "SkillLockedTarget",
"Logic_Param": {
"move_range": 10
},
"Damage": [
{
"damChangePer": 5.6,
"type": 9204
}
],
"DamTime": {
"type": 1,
"value": 1
},
"Buff": {
"enemy": [
106130,
106131
]
},
"Pvp_buff": {
"enemy": [
106130,
106131
]
},
"ForbidUse": 22049,
"AttackAct": [
"use_skill"
],
"E_Attack_On": 1,
"SE_attack": "Skill/skill_weapon_seize_attack",
"description": {
"chinesesimplified": "##483000",
"english": "##483000",
"german": "##483000",
"portuguese": "##483000",
"spanish": "##483000"
}
}