
Rechargeable Incendiary Gun
Lvl: 10
LeadSkill
Magic
Range: 6
Channels spiral energy cannon forward, dealing [Incendiary Gun] x 50% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 20% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 9
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 48% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 19% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 8
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 46% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 18% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 7
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 44% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 17% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 6
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 42% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 16% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 5
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 40% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 15% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 4
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 38% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 14% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 3
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 36% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 13% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 2
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 34% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 12% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Lvl: 1
LeadSkill
Magic
Range: 6
• Channels spiral energy cannon forward, dealing [Incendiary Gun] x 32% Fire M.DMG every 0.3 seconds and costing 3% current MP. When MP is below 20%, the channeling ends. Reuse can also end the skill. [Rechargeable Incendiary Gun] has 11% chance to inflict [Burn] on the enemy and gradually reduce the enemy's Move SPD. Can change direction during channeling.
Formula
function CommonFun.calcDamage_63501(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local Str = srcUser:GetProperty("Str")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local RangeDam = srcUser:GetProperty("RangeDam")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local RangeDam = srcUser:GetProperty("RangeDam")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local damChangePer = damageParam.damChangePer
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk + Str * Vit / 5) * raceparam * bossparam * bossparam2
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local skilllv_fsp = srcUser:GetLernedSkillLevel(2592_HIGH_PRIEST:INCENDIARY_GUN)
local skilllv_lx = srcUser:GetLernedSkillLevel(2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN)
local skilllv_lgp = srcUser:GetLernedSkillLevel(2600_HIGH_PRIEST:SPARK_FLOW)
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2592_HIGH_PRIEST:INCENDIARY_GUN_HIGH_PRIEST:INCENDIARY_GUN and damageParam.elementparam == 1 and 1 <= skilllv_lgp and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
damChangePer = (skilllv_fsp * 2.4 + 12) * skilllv_lgp * 0.1
end
if skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN and damageParam.elementparam == 4 then
local GemValue = srcUser:GetGemValue(203101_RECHARGEABLE_INCENDIARY_GUN_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
local Fifth = 1
local MaxSp = srcUser:GetProperty("MaxSp")
local Sp = srcUser:GetProperty("Sp")
if srcUser:HasBuffID(90004734_VAULT_LIGHTNING_PUNCH_1_T5_:MAX_STACK_0) and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
Fifth = Fifth + 0.15 * Sp / MaxSp
end
damChangePer = (skilllv_fsp * 2.4 + 12) * (skilllv_lx * 0.02 + 0.3) * GemDam * Fifth
end
if skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN and damageParam.elementparam == 1 and 1 <= skilllv_lgp and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
local GemValue = srcUser:GetGemValue(203101_RECHARGEABLE_INCENDIARY_GUN_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
local Fifth = 1
local MaxSp = srcUser:GetProperty("MaxSp")
local Sp = srcUser:GetProperty("Sp")
if srcUser:HasBuffID(90004734_VAULT_LIGHTNING_PUNCH_1_T5_:MAX_STACK_0) and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
Fifth = Fifth + 0.15 * Sp / MaxSp
end
damChangePer = (skilllv_fsp * 2.4 + 12) * (skilllv_lx * 0.02 + 0.3) * skilllv_lgp * 0.1 * GemDam * Fifth
end
local A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 * (1 + RangeDam) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)
if targetUser:GetNpcID() ~= 0 and (skillID == 2592_HIGH_PRIEST:INCENDIARY_GUN_HIGH_PRIEST:INCENDIARY_GUN or skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN) then
A = A * (1 + skilllv_fsp * 0.1)
end
if A <= 1 then
return 1
end
return A
end
Self 6470
function CommonFun.calcBuff_6470(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local skilllv_1 = srcUser:GetLernedSkillLevel(a)
local Sp = targetUser:GetProperty("Sp")
local A = -skilllv_1 * b / 100 * Sp
return A
end
Enemy 6
function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = targetUser:GetProperty("MaxHp")
local A = MaxHp * (a + c) + b
if 0 < A or a == 0 then
return A
end
if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
return 0
end
if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local Refine = srcUser:GetProperty("Refine")
local MRefine = srcUser:GetProperty("MRefine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
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 MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreDef = srcUser:GetProperty("IgnoreDef")
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local raceparam = 1
local srcRace = srcUser.race
local targetRace = targetUser.race
if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
targetRace = 3
end
if srcUser:HasBuffID(139411_TWO_FACE_DEMON_KING_DEMON_:MAX_STACK_0) then
srcRace = 3
end
if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
targetRace = 2
end
if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
srcRace = 2
end
if nil == CommonFun.RaceProps[targetRace] then
return 0
end
if nil == CommonFun.RaceProps[srcRace] then
return 0
end
local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
local raceparam = 1 + raceInc - raceRed
if raceparam <= 0.1 then
raceparam = 0.1
end
local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
if MAtkFinal <= AtkFinal then
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
else
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
end
end
local AttrFunction = srcUser:GetProperty("AttrFunction")
local bitfunc = CommonFun.getBits(AttrFunction)
if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
A = 0
end
if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
A = 0
end
if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
A = 0
end
if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
A = -1
end
if targetUser:DamageAlways1() then
A = -1
end
return A
end
Self
{
"id": 136953,
"BuffName": "11109",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Sp": {
"a": 2590,
"b": 3,
"type": 6470
},
"type": "HSPChange"
}
}
Enemy
{
"id": 136931,
"BuffName": "Burning State Effect [Burning]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"MDefPer": -0.25,
"AttrEffect": [
3,
4
],
"StateEffect": "3_Burn",
"BeFireDamPer": -0.25
},
"BuffStateID": 159201
}
Enemy
{
"id": 136932,
"BuffName": "Burning Bleeding Effect",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"Hp": {
"a": -0.01,
"b": -5,
"type": 6
},
"type": "HpReduce",
"delHpPer": 0.1,
"StateEffect": "3_Burn"
}
}
Enemy
{
"id": 136951,
"BuffName": "Spiral Incendiary Gun (SPD Reduc.)",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"MoveSpdPer": -0.1,
"limit_layer": 10
}
}
Enemy
{
"id": 136952,
"BuffName": "Spiral Incendiary Gun (Burn)",
"BuffRate": {
"Odds": {
"a": 1,
"b": 10,
"type": 140
}
},
"BuffEffect": {
"id": [
136931,
136932
],
"type": "AddBuff"
}
}
Formula
{
"id": 2598010,
"Buff": {
"self": [
136953
],
"enemy": [
136951,
136952
]
},
"Cost": 1,
"Desc": [
{
"id": 2598000,
"params": [
50,
20
]
}
],
"Icon": "skill_2598001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillDirectionRect",
"Damage": [
{
"type": 63501,
"damChangePer": 0,
"elementparam": 4
},
{
"type": 63501,
"damChangePer": 0,
"elementparam": 1
}
],
"DescId": "##1267328",
"NameZh": "##1266338",
"SE_hit": "Skill/skill_magic_fire_light_hit",
"CastAct": "reading2",
"DamTime": {
"type": 1,
"value": 3
},
"Fire_EP": 3,
"SE_cast": "Skill/Skill_Hero_Janos_Attack_03",
"Pvp_buff": {
"self": [
136953
],
"enemy": [
136951,
136952
]
},
"RollType": 2,
"Attack_EP": 2,
"Lead_Type": {
"type": 4,
"min_sp_percent": 20,
"clientinterrupt": 1
},
"SkillType": "LeadSkill",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"count": 99999,
"width": 3,
"distance": 10,
"interval": 0.3,
"no_select": 1,
"range_num": 10,
"chant_buff": [
136950
],
"isCountTrap": 1,
"point_effect": "Eff_Doram_Boar_buff",
"forward_offset": 0,
"del_hide_as_atk": 1,
"chant_can_use_skill": [
2593,
2594,
2596
],
"ignoreEffectCulling": 1,
"fieldarea_cannot_immune": 1
},
"Launch_Range": 6,
"PreCondition": [
{
"type": 3,
"spvalue": 20
}
],
"AutoCondition": [
{
"type": 2
}
],
"FashionCastAct": "reading_Knuckle",
"AutoCondition_Groove": 1
}