
Mental Blast
Lvl: 10
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 180
Range: 6
Cast Time: 8
Fixed Cast Time: 0.4
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
Lvl: 9
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 168
Range: 6
Cast Time: 8
Fixed Cast Time: 0.4
• 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
Lvl: 8
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 156
Range: 6
Cast Time: 6
Fixed Cast Time: 0.4
• 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
Lvl: 7
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 144
Range: 6
Cast Time: 6
Fixed Cast Time: 0.4
• 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
Lvl: 6
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 132
Range: 6
Cast Time: 6
Fixed Cast Time: 0.4
• 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
Lvl: 5
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 120
Range: 6
Cast Time: 4
Fixed Cast Time: 0.3
• 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
Lvl: 4
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 108
Range: 6
Cast Time: 4
Fixed Cast Time: 0.3
• 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
Lvl: 3
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 96
Range: 6
Cast Time: 4
Fixed Cast Time: 0.3
• 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
Lvl: 2
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 84
Range: 6
Cast Time: 4
Fixed Cast Time: 0.3
• 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
Lvl: 1
Attack
Magic
CD: 4 sec
Skill Delay: 1.5 sec
SP: 72
Range: 6
Cast Time: 4
Fixed Cast Time: 0.3
• 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
Aesir
• Mental Blast - Torture Enemies affected by [Mental Blast] have a 10% chance of being stunned for 2 sec
• Mental Blast - Empower [Mental Blast] Dmg +8%
Formula
function CommonFun.calcDamage_8205(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 RangeDam = srcUser:GetProperty("RangeDam")
local srcAtkElement = 5
local ElementNpc = srcUser:getCurElementElfID()
if ElementNpc == 580010 then
srcAtkElement = 4
elseif ElementNpc == 580020 then
srcAtkElement = 3
elseif ElementNpc == 580030 then
srcAtkElement = 2
elseif ElementNpc == 580040 then
srcAtkElement = 1
end
local targetDefElement = targetUser:GetProperty("DefAttr")
if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
return 0
end
local elementRed = targetUser:GetProperty(CommonFun.NatureProps[srcAtkElement][2])
local elementAtk = srcUser:GetProperty(CommonFun.NatureProps[srcAtkElement][3])
if nil == elementAtk then
elementAtk = 0
end
local elementparam2 = 1 + elementAtk - elementRed
local mapid, maptype = srcUser:GetMapInfo()
if maptype == PVP_MAPS then
local B = elementRed - elementAtk
B = B < -1 and -1 or 1 < B and 1 or B
B = math.floor(B * 1000) / 1000
B = B + 0.3 * (1 - math.sin(B * 3.14 / 2))
elementparam2 = 1 - B
end
if elementparam2 <= 0.1 then
elementparam2 = 0.1
end
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 MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local Num_js = srcUser:GetRunePoint(82033_AESIR_MENTAL_BLAST_DMG_8)
local GemValue = srcUser:GetGemValue(82082_MENTAL_BLAST_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
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 + Num_js * 0.08) * (1 + RangeDam) * GemDam
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 118431,
"BuffDesc": "Stun: disable movement, stop restoring mana",
"BuffIcon": "skillbuff_181001",
"BuffName": "Earth Spike [Stun]",
"BuffRate": {
"Odds": {
"a": 0,
"b": 100,
"type": 130
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Enemy
{
"id": 118460,
"BuffName": "Mental Blast [Stun]",
"BuffRate": {
"Odds": {
"a": 0,
"b": 0,
"c": 82032,
"d": 10,
"type": 3250
}
},
"BuffEffect": {
"id": [
118431
],
"type": "AddBuff"
},
"BuffStateID": 118460
}
Formula
{
"CD": 4,
"id": 1331010,
"Buff": {
"enemy": [
118460
]
},
"Cost": 1,
"Desc": [
{
"id": 1331000,
"params": [
300,
5
]
}
],
"Icon": "skill_1331001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillPointRange",
"Damage": [
{
"type": 8205,
"damChangePer": 15
}
],
"DescId": "##170403",
"NameZh": "##166331",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 5
},
"DelayCD": 1.5,
"Fire_EP": 3,
"SE_cast": "Common/Magic_cast",
"Pvp_buff": {
"enemy": [
118460
]
},
"RollType": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0.4,
"FCT": 8,
"type": 2
},
"SE_attack": "Skill/skill_magic_metalcrash_attack",
"SkillCost": {
"sp": 180
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"loop": false,
"count": 3,
"range": 3,
"effect": "MentalShock_buff,LowRange_B2",
"interval": 1,
"no_select": 1,
"range_num": 10,
"isCountTrap": 1,
"fieldarea_cannot_immune": 1
},
"Launch_Range": 6
}