
Mental Blast
Unleashes telekineses within a certain range, inflicting 300 amounts of Neutral Magic Damage (M.Atk *5%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
Aesir Effects
Skill Levels
• Unleashes telekineses within a certain range, inflicting 290 amounts of Neutral Magic Damage (M.Atk *5%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 280 amounts of Neutral Magic Damage (M.Atk *4%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 270 amounts of Neutral Magic Damage (M.Atk *4%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 260 amounts of Neutral Magic Damage (M.Atk *4%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 250 amounts of Neutral Magic Damage (M.Atk *3%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 240 amounts of Neutral Magic Damage (M.Atk *3%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 230 amounts of Neutral Magic Damage (M.Atk *3%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 220 amounts of Neutral Magic Damage (M.Atk *2%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
• Unleashes telekineses within a certain range, inflicting 210 amounts of Neutral Magic Damage (M.Atk *2%) for 3 sec. Summon different Elemental creatures that can change the element of Mental Blast. Default element is Neutral
Formula
1function CommonFun.calcDamage_8205(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 MAtkPer = srcUser:GetProperty("MAtkPer")
6 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
7 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
8 if 1 <= IgnoreMDef then
9 IgnoreMDef = 1
10 end
11 local MRefine = srcUser:GetProperty("MRefine")
12 local RangeDam = srcUser:GetProperty("RangeDam")
13 local srcAtkElement = 5
14 local ElementNpc = srcUser:getCurElementElfID()
15 if ElementNpc == 580010 then
16 srcAtkElement = 4
17 elseif ElementNpc == 580020 then
18 srcAtkElement = 3
19 elseif ElementNpc == 580030 then
20 srcAtkElement = 2
21 elseif ElementNpc == 580040 then
22 srcAtkElement = 1
23 end
24 local targetDefElement = targetUser:GetProperty("DefAttr")
25 if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
26 return 0
27 end
28 local elementRed = targetUser:GetProperty(CommonFun.NatureProps[srcAtkElement][2])
29 local elementAtk = srcUser:GetProperty(CommonFun.NatureProps[srcAtkElement][3])
30 if nil == elementAtk then
31 elementAtk = 0
32 end
33 local elementparam2 = 1 + elementAtk - elementRed
34 local mapid, maptype = srcUser:GetMapInfo()
35 if maptype == PVP_MAPS then
36 local B = elementRed - elementAtk
37 B = B < -1 and -1 or 1 < B and 1 or B
38 B = math.floor(B * 1000) / 1000
39 B = B + 0.3 * (1 - math.sin(B * 3.14 / 2))
40 elementparam2 = 1 - B
41 end
42 if elementparam2 <= 0.1 then
43 elementparam2 = 0.1
44 end
45 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
46 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
47 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
48 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
49 local MDef2 = targetUser:GetProperty("MDef")
50 local MDefPer2 = targetUser:GetProperty("MDefPer")
51 local Vit2 = targetUser:GetProperty("Vit")
52 local VitPer2 = targetUser:GetProperty("VitPer")
53 local Int2 = targetUser:GetProperty("Int")
54 local IntPer2 = targetUser:GetProperty("IntPer")
55 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
56 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
57 local damChangePer = damageParam.damChangePer
58 local BaseMAtk = Int + math.floor(Int * Int / 100)
59 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
60 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
61 local Num_js = srcUser:GetRunePoint(82033_AESIR_MENTAL_BLAST_DMG_8)
62 local GemValue = srcUser:GetGemValue(82082_MENTAL_BLAST_DMG_PERCENTAGE)
63 local GemDam = 1 + GemValue / 100000
64 local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam, srcAtkElement) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + Num_js * 0.08) * (1 + RangeDam) * GemDam
65 if A <= 1 then
66 return 1
67 end
68 return A
69end