
Magic Crasher
Lvl: 5
Attack
Physical
SP: 16
Range: 6
Cast Time: 0.3
Deals (M.Atk500%) Neutral Element physical Damag to the target
Lvl: 4
Attack
Physical
SP: 16
Range: 6
Cast Time: 0.3
• Deals (M.Atk420%) Neutral Element physical Damag to the target
Lvl: 3
Attack
Physical
SP: 16
Range: 6
Cast Time: 0.3
• Deals (M.Atk340%) Neutral Element physical Damag to the target
Lvl: 2
Attack
Physical
SP: 16
Range: 6
Cast Time: 0.3
• Deals (M.Atk260%) Neutral Element physical Damag to the target
Lvl: 1
Attack
Physical
SP: 16
Range: 6
Cast Time: 0.3
• Deals (M.Atk180%) Neutral Element physical Damag to the target
Formula
function CommonFun.calcDamage_2201(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 IgnoreDef = 0
local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
if targetUser.boss or targetUser.mini then
IgnoreDef = IgnoreDef1
else
IgnoreDef = IgnoreDef1 + IgnoreDef2
end
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
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 DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local BaseLvDamage = 0
local IBaseLv = srcUser.BaseLv
if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 15
end
local Num1 = srcUser:GetRunePoint(223006_AESIR_MAKE_VIBRATING_BOMB_S_DMG_UP_10)
local RuneDamage = Num1 * 0.1 + 1
local A = ((MAtkFinal * DefReduc * (1 - DamReduc2) + MRefine) * (1 - RefineDamReduc) * damChangePer - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + MDamIncrease) * RuneDamage + BaseLvDamage
if A <= 1 then
return 1
end
return A
end
Formula
{
"id": 92005,
"Cost": 1,
"Desc": [
{
"id": 92000,
"params": [
500
]
}
],
"Icon": "skill_92001",
"Camps": "Enemy",
"Level": 5,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 2201,
"damChangePer": 5,
"elementparam": 5
}
],
"DescId": "##170321",
"NameZh": "##169364",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 0.3,
"Fire_EP": 3,
"SE_cast": "Skill/Magic_cast",
"RollType": 1,
"SkillHit": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0,
"FCT": 0.3,
"type": 2
},
"SE_attack": "skill/skill_magic_magicwind_quick_attack",
"SkillCost": {
"sp": 16
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Launch_Range": 6
}