
Fire Ball
Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*400%) fire M.Dmg
Skill Levels
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*370%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*340%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*310%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*280%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*250%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*220%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*190%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*160%) fire M.Dmg
• Attacks an enemy and all enemies around it with fire ball, dealing (M.Atk*130%) fire M.Dmg
Formula
1function CommonFun.calcDamage_34(srcUser, targetUser, params, damageParam, logger)
2 local Int = srcUser:GetProperty("Int")
3 local Vit = srcUser:GetProperty("Vit")
4 local MAtk = srcUser:GetProperty("MAtk")
5 local MAtkPer1 = srcUser:GetProperty("MAtkPer")
6 local Num1 = srcUser:GetRunePoint(21007_AESIR_FIRE_BALL_S_M_ATK_5_SP_COST_3)
7 local Num2 = srcUser:GetRunePoint(22001)
8 local Num3 = srcUser:GetRunePoint(22002)
9 local Num4 = srcUser:GetRunePoint(22005)
10 local Num5 = srcUser:GetRunePoint(223003_AESIR_MAKE_FLAME_BALL_S_M_ATK_BONUS_THAT_CAUSES_DMG_5_AND_SP_CONSUMPTION_3)
11 local RuneDamage = (Num1 + Num2 + Num3 + Num4 + Num5) * 0.05
12 local MAtkPer = MAtkPer1 + RuneDamage
13 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
14 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
15 if 1 <= IgnoreMDef then
16 IgnoreMDef = 1
17 end
18 local MRefine = srcUser:GetProperty("MRefine")
19 local RangeDam = srcUser:GetProperty("RangeDam")
20 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
21 local targetDefElement = targetUser:GetProperty("DefAttr")
22 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
23 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
24 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
25 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
26 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
27 local MDef2 = targetUser:GetProperty("MDef")
28 local MDefPer2 = targetUser:GetProperty("MDefPer")
29 local Vit2 = targetUser:GetProperty("Vit")
30 local VitPer2 = targetUser:GetProperty("VitPer")
31 local Int2 = targetUser:GetProperty("Int")
32 local IntPer2 = targetUser:GetProperty("IntPer")
33 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
34 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
35 local damChangePer = damageParam.damChangePer
36 local BaseMAtk = Int + math.floor(Int * Int / 100)
37 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
38 local DamageRatio = 1
39 if srcUser:HasBuffID(80001450_DETARDEROUS_CARD_DEPOSITE_:MAX_STACK_0) then
40 DamageRatio = 1.15
41 end
42 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
43 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
44 if A <= 1 then
45 return 1
46 end
47 return A
48end