
Carnage Capoeira
Lvl: 10
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*80% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 9
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*75% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 8
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*70% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 7
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*65% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 6
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*60% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 5
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*55% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 4
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*50% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 3
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*45% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 2
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*40% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
Lvl: 1
LeadSkill
Physical
CD: 2 sec
Skill Delay: 1 sec
Range: 5
• Guided skill. Shoot continuously at enemies in a 5m radius, dealing Desperado*35% of physical DMG every 0.3s. Lasts 3s. Spend 4 bullet in total. Must be used with a pistol equipped.
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": 133672,
"BuffName": "Mobile Ranged (Carnage Capoeira)",
"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": 133680,
"BuffName": "Carnage Capoeira",
"BuffRate": {
"Odds": {
"a": 100,
"b": -100,
"c": 133680,
"type": 5040
}
},
"BuffEffect": {
"num": 1,
"type": "BulletConsume"
}
}
Self
{
"id": 133790,
"BuffName": "Carnage Capoeira - Afterimage",
"BuffRate": {
"Odds": {
"a": 2262,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 1,
"isdisperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"ResultDamRes": {
"a": 2262,
"b": 0.05,
"c": 0,
"type": 8
}
}
}
Enemy
{
"id": 133780,
"BuffName": "Carnage Capoeira - Spear Dance",
"BuffRate": {
"Odds": {
"a": 2261,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"MoveSpdPer": {
"a": 2261,
"b": -0.1,
"c": 0,
"type": 8
},
"IgnoreAttrControl": 1
}
}
Formula
{
"CD": 2,
"id": 2241010,
"Buff": {
"self": [
133680,
133790,
133672
],
"enemy": [
133780
]
},
"Cost": 1,
"Desc": [
{
"id": 2241000,
"params": [
80
]
}
],
"Icon": "skill_2241001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 17302,
"damChangePer": 0
}
],
"DescId": "##1138168",
"NameZh": "##1112846",
"CastAct": "use_skill7",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "skill/skil_gunner_5",
"ItemCost": [
{
"id": 12903,
"count": 2100
}
],
"Pvp_buff": {
"self": [
133680,
133790,
133672
],
"enemy": [
133780
]
},
"RollType": 1,
"AttackAct": [
"use_skill7"
],
"Attack_EP": 2,
"Lead_Type": {
"DCT": 3,
"type": 4
},
"SkillType": "LeadSkill",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"count": 10,
"range": 5,
"interval": 0.3,
"no_select": 1,
"isCountTrap": 1,
"noMoveAction": 1,
"del_hide_as_atk": 1,
"noReadingEffect": 1,
"fieldarea_cannot_immune": 1
},
"Launch_Range": 5,
"PreCondition": {
"1": {
"num": 4,
"type": 14
},
"2": {
"type": 2,
"itemtype": 310
},
"both": 1
},
"ExtraMaxLevel": 1
}