Level 1
##25460001
Skill #25460001
Summons hellfire on the ground, dealing continuous Fire Magic Damage and percentage-based Damage Over Time to enemies within range.
Level 1
##25460001
Formulas & functions
Formula source
function CommonFun.calcBuff_140(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local BlindAtk = srcUser:GetProperty("BlindAtk")
local BlindDef2 = targetUser:GetProperty("BlindDef")
local BlindDam = 1 + BlindAtk - BlindDef2
if BlindDam <= 0 then
BlindDam = 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) * BlindDam * StateDam * CommonFun.calcAttrBurnRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endFormula source
function CommonFun.calcDamage_20(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 damChangePer = damageParam.damChangePer
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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 380 or skillID == 383 or skillID == 384 then
AtkPer = 0
end
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)
if A <= 1 then
return 1
end
return A
endSkill JSON (Level 1)
{
"id": 25460001,
"NameZh": "地火",
"Level": 1,
"Icon": "skill_1301001",
"Cost": 1,
"Desc": [
{
"id": 25460001,
"params": [
100
]
}
],
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 8,
"Fire_EP": 3,
"Target_EP": 3,
"Attack_EP": 0,
"Logic": "SkillPointRange",
"Logic_Param": {
"count": 10,
"interval": 0.5,
"isCountTrap": 1,
"no_select": 1,
"range": 3,
"range_num": 10,
"trap_effect": "CrazyFlame_buff1,LowRange_B"
},
"Damage": [
{
"damChangePer": 10,
"elementparam": 4,
"type": 20
}
],
"DamTime": {
"type": 1,
"value": 3
},
"Buff": {
"enemy": [
159200,
162120
]
},
"Pvp_buff": {
"enemy": [
159200,
162120
]
},
"AttackAct": [
"use_skill"
],
"SE_attack": "Skill/Cannon_hit",
"description": {
"chinesesimplified": "##25460001",
"english": "##25460001",
"german": "##25460001",
"portuguese": "##25460001",
"spanish": "##25460001"
}
}