Flame Dash
Lvl: 10
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 3
Fixed Cast Time: 0.5
Attacks the target with flame charge, dealing (M.Atk 240% +600) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 9
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 2.7
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 220% +550) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 8
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 2.4
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 200% +500) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 7
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 2.1
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 180% +450) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 6
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 1.8
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 160% +400) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 5
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 1.5
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 140% +350) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 4
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 1.2
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 120% +300) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 3
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 0.9
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 100% +250) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 2
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 0.6
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 80% +200) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Lvl: 1
Attack
Magic
Skill Delay: 1.5 sec
SP: 75
Range: 6
Cast Time: 0.3
Fixed Cast Time: 0.5
• Attacks the target with flame charge, dealing (M.Atk 60% +150) fire M.Dmg that ignores MDef. If the target is in Alight status, explodes to deal massive fire M.Dmg to nearby enemies. The skill cannot apply Alight status
Formula
function CommonFun.calcDamage_2301(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
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 damChangePer1 = damageParam.damChangePer1
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 BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2 * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2
local A = ((MAtkFinal * (1 - MDamReduc2) * damChangePer + 50 + MRefine) * (1 - RefineMDamReduc) * damChangePer1 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + MDamIncrease)
if A <= 1 then
return 1
end
return A
end
Enemy 20
function CommonFun.calcBuff_20(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer1 = srcUser:GetProperty("MAtkPer")
local Num1 = srcUser:GetRunePoint(22008_AESIR_M_ATK_BONUS_OF_ALIGHT_3)
local Num2 = srcUser:GetRunePoint(22009)
local RuneDamage = (Num1 + Num2) * 0.03
local MAtkPer = MAtkPer1 + RuneDamage
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = 4
local targetDefElement = targetUser:GetProperty("DefAttr")
local ElementRate = CommonFun.GetElementRate(srcUser, srcAtkElement, targetUser, targetDefElement)
if (srcUser:HasBuffID(69650_8608_:MAX_STACK_0) or srcUser:HasBuffID(71090_10658_:MAX_STACK_0)) and 1 < ElementRate then
ElementRate = ElementRate * 1.1
end
if targetUser:HasBuffID(49130_DIVINE_HYMN_CARVER_:MAX_STACK_0) then
ElementRate = math.min(ElementRate, 1)
end
if srcUser:HasBuffID(49210_7892_:MAX_STACK_0) then
ElementRate = ElementRate + 0.15
end
local skilllv_fs = srcUser:GetLernedSkillLevel(88_SWORDSMAN:ALIGHT)
local skilllv_xd = srcUser:GetLernedSkillLevel(1919_HUNTER:ALIGHT)
local skilllv = math.max(skilllv_fs, skilllv_xd)
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 BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = (MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (a * skilllv + b) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + MDamIncrease) * ElementRate * (1 - RefineMDamReduc)
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
if A <= 1 then
return -1
end
return -A
end
Self
{
"id": 116830,
"BuffDesc": "Fire Damage up",
"BuffIcon": "skillbuff_commonbuff",
"BuffName": "Fire element",
"BuffRate": {
"Odds": {
"a": 1163,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 1,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"FireAtk": {
"type": 4010
},
"NormalAtk": {
"a": 0,
"b": 0,
"c": 21112,
"type": 5010
},
"extra_attr": {
"FireAtk": {
"a": 3103,
"b": 0.01,
"c": 0,
"type": 8
}
},
"NormalAtkDam": {
"a": 0,
"b": 0,
"c": 21111,
"type": 5020
}
},
"BuffStateID": 116830
}
Enemy
{
"id": 85140,
"BuffName": "Alight [Burn]",
"BuffRate": {
"Odds": {
"type": 7991
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"Hp": {
"a": 0.05,
"b": 0,
"type": 20
},
"type": "HSPChange",
"limit_layer": 10
},
"BuffStateID": 95410
}
Enemy
{
"id": 85160,
"BuffName": "Flame Dash",
"BuffRate": {
"Odds": {
"a": 3,
"type": 10
}
},
"BuffEffect": {
"id": [
85161,
85162
],
"type": "AddBuff"
}
}
Enemy
{
"id": 85161,
"BuffName": "Flame Dash",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"a": 0,
"b": -2.5,
"type": 16
},
"type": "HSPChange"
},
"BuffStateID": 85160
}
Enemy
{
"id": 85162,
"BuffName": "Flame Dash (delete Alight)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"id": [
85140
],
"type": "DelBuff"
}
}
Formula
{
"id": 90010,
"Buff": {
"self": [
116830
],
"enemy": [
85160
]
},
"Cost": 1,
"Desc": [
{
"id": 90000,
"params": [
240,
600
]
}
],
"Icon": "skill_90001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 2301,
"damChangePer": 0.2,
"elementparam": 4,
"damChangePer1": 12
}
],
"DescId": "##170777",
"NameZh": "##158001",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 12
},
"DelayCD": 1.5,
"Fire_EP": 3,
"SE_cast": "Skill/Magic_cast",
"Pvp_buff": {
"self": [
116830
],
"enemy": [
85160
]
},
"RollType": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0.5,
"FCT": 3,
"type": 2
},
"SkillCost": {
"sp": 75
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Launch_Range": 6
}