Multi Firing
Lvl: 5
Attack
Physical
CD: 3 sec
Skill Delay: 3 sec
Range: 5
Strafes the frontal area, dealing (Atk480%) lane Dmg to all enemies in range and knocking them back shortly
Formula
function CommonFun.calcDamage_4301(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
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 Refine = srcUser:GetProperty("Refine")
local AttrEffect = targetUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local Num1 = srcUser:GetRunePoint(42110_AESIR_SKILL_DMG_OF_MULTI_FIRING_10)
local RuneDamage = 1 + Num1 * 0.1
local card1 = 1
local RefineLv1 = srcUser:GetEquipedRefineLv(7_WEAPON)
local CardNum = srcUser:GetEquipCardNum(7, 24053_RAIN_OF_ARROW_CARD)
if srcUser:HasBuffID(52410_RAIN_OF_ARROW_CARD_:MAX_STACK_0) then
card1 = RefineLv1 * 0.02 * CardNum + 1
end
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDamage * card1
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 80140,
"BuffName": "Spiral Pierce[Stunning]",
"BuffRate": {
"Odds": {
"a": 0,
"b": 100,
"type": 130
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Formula
{
"CD": 3,
"id": 70540005,
"Buff": {
"enemy": [
80140
]
},
"Cost": 1,
"Desc": [
{
"id": 134000,
"params": [
480
]
}
],
"Icon": "skill_134001",
"Camps": "Enemy",
"Level": 5,
"Logic": "SkillForwardRect",
"Damage": [
{
"type": 4301,
"damChangePer": 4.8,
"elementparam": 5
}
],
"DescId": "##170224",
"NameZh": "##170040",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 3,
"Fire_EP": 6,
"RollType": 1,
"AttackAct": [
"use_skill"
],
"Attack_EP": 3,
"SkillType": "Attack",
"Target_EP": 3,
"HitEffects": [
{
"type": 1,
"speed": 10,
"distance": 1,
"direction": "back"
}
],
"Logic_Param": {
"width": 4,
"distance": 8,
"range_num": 10,
"forward_offset": 0
},
"Launch_Range": 5
}