
Crossfire
Lvl: 10
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(630%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 9
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(600%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 8
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(570%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 7
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(540%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 6
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(510%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 5
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(480%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 4
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(450%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 3
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(420%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 2
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(390%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Lvl: 1
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Channelling skill. Shoots continuously in the specified direction, dealing Phy. DMG equivalent to Phy. ATK*(360%+AGI/30) every 0.5s to enemies in a rectangular area in front. The skill lasts for 3s. Spends 3 bullet. Must have a pistol equipped.
Aesir
• Crossfire - Penetrate Crossfire reduces target's DMG Reduc. by 1% for the duration (stackable) for 3s.
Formula
function CommonFun.calcDamage_17302(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Agi = srcUser:GetProperty("Agi")
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 = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
local damChangePer = damageParam.damChangePer
local Rune = 1
local Num1 = srcUser:GetRunePoint(173017_AESIR_PIERCING_SHOT_DMG_6)
local Num2 = srcUser:GetRunePoint(173029_AESIR_DESPERADO_DMG_5)
local Num4 = srcUser:GetRunePoint(173025_AESIR_PIERCING_SHOT_IGNORES_20_OF_THE_TARGET_S_PHY_DEF)
local GemValue_wm1 = srcUser:GetGemValue(173061_DESPERADO_DMG_PERCENTAGE)
local GemValue_wm2 = srcUser:GetGemValue(173062_DESPERADO_EACH_POINT_OF_AGI_DMG_PERCENTAGE)
local GemDam_wm = 1 + GemValue_wm1 / 100000 + GemValue_wm2 / 100000 * Agi
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2223_STELLAR_HUNTER:CROSSFIRE then
local GemValue = srcUser:GetGemValue(173101_CROSSFIRE_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
damChangePer = (damChangePer + Agi / 30) * GemDam
end
local Pistol = 1
local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
if skillID == 2224_STELLAR_HUNTER:DESPERADO then
damChangePer = (damChangePer + Agi / 20) * GemDam_wm
Rune = 1 + Num2 * 0.05
if srcUser:HasBuffID(45000_GOLD_LUX_PISTOL_:MAX_STACK_0) then
Pistol = 1 + RefineLv * 0.01
end
if srcUser:HasBuffID(45010_GOLD_LUX_PISTOL_AFTER_PERFUSION_:MAX_STACK_0) then
Pistol = 1 + RefineLv * 0.02
end
end
if skillID == 2203_STELLAR_HUNTER:PIERCING_SHOT then
Rune = 1 + Num1 * 0.06
DefReduc = 1 - (1 - DefReduc) * (1 - Num4 * 0.2)
end
if skillID == 2241_STELLAR_HUNTER:CARNAGE_CAPOEIRA then
local skilllv_wm = srcUser:GetLernedSkillLevel(2224_STELLAR_HUNTER:DESPERADO)
local skilllv_sl = srcUser:GetLernedSkillLevel(2241_STELLAR_HUNTER:CARNAGE_CAPOEIRA)
damChangePer = (0.5 * skilllv_wm + 5 + Agi / 20) * (0.3 + skilllv_sl * 0.05) * GemDam_wm
Rune = 1 + Num2 * 0.05
if srcUser:HasBuffID(45000_GOLD_LUX_PISTOL_:MAX_STACK_0) then
Pistol = 1 + RefineLv * 0.01
end
if srcUser:HasBuffID(45010_GOLD_LUX_PISTOL_AFTER_PERFUSION_:MAX_STACK_0) then
Pistol = 1 + RefineLv * 0.02
end
end
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Rune * Pistol
local skilllv = srcUser:GetLernedSkillLevel(2240_STELLAR_HUNTER:CHAIN_ACTION)
local DoubleRate = skilllv * 3
if srcUser:HasBuffID(90004654_GOLD_LAW_ENFORCER_1_T5_:MAX_STACK_0) then
DoubleRate = DoubleRate + 20
end
if CommonFun.IsInRate(DoubleRate, srcUser:GetRandom()) then
if srcUser.isServerCall then
srcUser:AddBuff(133660_CHAIN_ACTION_:MAX_STACK_0, srcUser:GetGuid())
end
return A * 2, CommonFun.DamageType.Crit
end
if A <= 1 then
return 1
end
return A
end
Self
{
"id": 133671,
"BuffName": "Mobile Ranged (Crossfire)",
"BuffRate": {
"Odds": {
"a": 2242,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffEffect": {
"type": "AttrChange",
"MoveSpdPer": {
"a": 2242,
"b": 0.1,
"c": -0.6,
"type": 8
}
}
}
Self
{
"id": 133681,
"BuffName": "Crossfire",
"BuffRate": {
"Odds": {
"a": 100,
"b": -100,
"c": 133681,
"type": 5040
}
},
"BuffEffect": {
"num": 1,
"type": "BulletConsume"
}
}
Enemy
{
"id": 133910,
"BuffName": "Crossfire - Penetrate",
"BuffRate": {
"Odds": {
"a": 0,
"b": 0,
"c": 173028,
"d": 100,
"type": 3250
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"DamReduc": {
"a": 0,
"b": 0,
"c": 173028,
"d": -0.01,
"type": 3250
},
"limit_layer": 6
}
}
Formula
{
"CD": 2,
"id": 2223010,
"Buff": {
"self": [
133671,
133681
],
"enemy": [
133910
]
},
"Cost": 1,
"Desc": [
{
"id": 2223000,
"params": [
630
]
}
],
"Icon": "skill_2223001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillDirectionRect",
"Damage": [
{
"type": 17302,
"damChangePer": 6.3
}
],
"DescId": "##1138165",
"NameZh": "##1112847",
"CastAct": "use_skill3",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "skill/skil_gunner_1",
"PointAct": "skill_ready_Pistol",
"Pvp_buff": {
"self": [
133671,
133681
],
"enemy": [
133910
]
},
"RollType": 1,
"AttackAct": [
"use_skill3"
],
"Attack_EP": 3,
"Lead_Type": {
"DCT": 3,
"type": 4
},
"SkillType": "LeadSkill",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"count": 6,
"width": 3,
"distance": 8,
"interval": 0.5,
"no_select": 1,
"range_num": 10,
"isCountTrap": 1,
"point_effect": "Eff_Doram_Boar_buff",
"forward_offset": 0,
"del_hide_as_atk": 1,
"ignoreEffectCulling": 1,
"fieldarea_cannot_immune": 1
},
"Launch_Range": 5,
"PreCondition": {
"1": {
"num": 3,
"type": 14
},
"2": {
"type": 2,
"itemtype": 310
},
"both": 1
}
}