Skill | Soul Impact |

Lvl: 1
Attack
Range: 5
Casts souls to attack up to the target and 5 enemy units adjacent to the target, dealing M. ATK*1380% Ghost M. DMG. The damage goes higher as more enemy units are caught in the rangeLvl: 1
Attack
Range: 5
Casts souls to attack up to the target and 5 enemy units adjacent to the target, dealing M. ATK*1380% Ghost M. DMG. The damage goes higher as more enemy units are caught in the range
Formula
function CommonFun.calcDamage_8048(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 = CommonFun.GetUserAtkAttr(srcUser, 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 MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local MaxHp = targetUser:GetProperty("MaxHp")
local count = params.hitedCount
if count <= 0 then
count = 1
end
local CountDam = 1 / count ^ 0.75
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + MaxHp) * CountDam
if A <= 1 then
return 1
end
return A
end
Raw
{
"id": 24128001,
"Cost": 1,
"Desc": [
{
"id": 2301000,
"params": [
1380
]
}
],
"Icon": "skill_1497001",
"Camps": "Enemy",
"Level": 1,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 8048,
"damChangePer": 5,
"elementparam": 8
}
],
"DescId": "##1191094",
"NameZh": "##1190797",
"CastAct": "wait",
"DamTime": {
"type": 1,
"value": 1
},
"Fire_EP": 3,
"SE_cast": "Skill/Magic_cast",
"AttackAct": [
"use_skill"
],
"Attack_EP": 2,
"Lead_Type": {
"type": 1,
"ReadyTime": 1
},
"SE_attack": "Skill/Chronomancer_chongdong",
"SkillType": "Attack",
"Target_EP": 3,
"Logic_Param": {
"range": 5,
"range_num": 10,
"immune_taunt": 1
},
"Launch_Range": 5
}