
Fire Ball
Lvl: 10
Attack
Magic
Skill Delay: 1 sec
SP: 70
Range: 6
Cast Time: 1
Fixed Cast Time: 0.2
Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*400%) fire M.Dmg
Lvl: 9
Attack
Magic
Skill Delay: 1 sec
SP: 65
Range: 6
Cast Time: 1
Fixed Cast Time: 0.2
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*370%) fire M.Dmg
Lvl: 8
Attack
Magic
Skill Delay: 1 sec
SP: 60
Range: 6
Cast Time: 1
Fixed Cast Time: 0.2
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*340%) fire M.Dmg
Lvl: 7
Attack
Magic
Skill Delay: 1 sec
SP: 55
Range: 6
Cast Time: 1
Fixed Cast Time: 0.2
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*310%) fire M.Dmg
Lvl: 6
Attack
Magic
Skill Delay: 1 sec
SP: 50
Range: 6
Cast Time: 1
Fixed Cast Time: 0.2
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*280%) fire M.Dmg
Lvl: 5
Attack
Magic
Skill Delay: 1.5 sec
SP: 45
Range: 6
Cast Time: 1.6
Fixed Cast Time: 0.3
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*250%) fire M.Dmg
Lvl: 4
Attack
Magic
Skill Delay: 1.5 sec
SP: 40
Range: 6
Cast Time: 1.6
Fixed Cast Time: 0.3
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*220%) fire M.Dmg
Lvl: 3
Attack
Magic
Skill Delay: 1.5 sec
SP: 35
Range: 6
Cast Time: 1.6
Fixed Cast Time: 0.3
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*190%) fire M.Dmg
Lvl: 2
Attack
Magic
Skill Delay: 1.5 sec
SP: 30
Range: 6
Cast Time: 1.6
Fixed Cast Time: 0.3
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*160%) fire M.Dmg
Lvl: 1
Attack
Magic
Skill Delay: 1.5 sec
SP: 25
Range: 6
Cast Time: 1.6
Fixed Cast Time: 0.3
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*130%) fire M.Dmg
Aesir
• Fire Ball -Quick Cast [Fire Ball]’s M.Atk +5%, SP Cost +3%%
Formula
function CommonFun.calcDamage_34(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer1 = srcUser:GetProperty("MAtkPer")
local Num1 = srcUser:GetRunePoint(21007_AESIR_FIRE_BALL_S_M_ATK_5_SP_COST_3)
local Num2 = srcUser:GetRunePoint(22001)
local Num3 = srcUser:GetRunePoint(22002)
local Num4 = srcUser:GetRunePoint(22005)
local Num5 = srcUser:GetRunePoint(223003_AESIR_MAKE_FLAME_BALL_S_M_ATK_BONUS_THAT_CAUSES_DMG_5_AND_SP_CONSUMPTION_3)
local RuneDamage = (Num1 + Num2 + Num3 + Num4 + Num5) * 0.05
local MAtkPer = MAtkPer1 + RuneDamage
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) * raceparam * bossparam * bossparam2
local DamageRatio = 1
if srcUser:HasBuffID(80001450_DETARDEROUS_CARD_DEPOSITE_:MAX_STACK_0) then
DamageRatio = 1.15
end
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam) * DamageRatio
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
if srcUser:HasBuffID(77480_48193_VICTORY_SWALLOW_1_:MAX_STACK_0) then
ElementRate = ElementRate + 0.1
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": 54522,
"BuffDesc": "DMG Reduction down",
"BuffIcon": "skillbuff_commonbuff",
"BuffName": "Mutant Dragon★Card",
"BuffRate": {
"Odds": {
"a": 0,
"b": 100,
"c": 54520,
"type": 5040
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"DamReduc": -0.15
}
}
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
}
Formula
{
"id": 95010,
"Buff": {
"self": [
116830
],
"enemy": [
85140,
54522
]
},
"Cost": 1,
"Desc": [
{
"id": 95000,
"params": [
400
]
}
],
"Icon": "skill_95001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 34,
"damChangePer": 4,
"elementparam": 4
}
],
"DescId": "##170958",
"NameZh": "##169627",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_fire": "Skill/skill_magic_fireball_attack_01",
"Pvp_buff": {
"self": [
116830
],
"enemy": [
85140,
54522
]
},
"RollType": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0.2,
"FCT": 1,
"type": 2
},
"SkillCost": {
"sp": 70
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"emit": {
"type": 1,
"speed": 20,
"effect": "FireBall,LowFire_B"
},
"range": 2,
"sub_fire": true,
"range_num": 5,
"notcontroled": 1
},
"Launch_Range": 6
}