Decay spread
Lvl: 9
Attack
Physical
Range: 10
After charging up, Fantastic Dragon deals Fire DMG with a slow effect to enemies in a fixed radius.
Lvl: 8
Attack
Physical
Range: 10
• After charging up, Fantastic Dragon deals Fire DMG with a slow effect to enemies in a fixed radius.
Lvl: 7
Attack
Physical
Range: 10
• After charging up, Fantastic Dragon deals Fire DMG with a slow effect to enemies in a fixed radius.
Lvl: 6
Attack
Physical
Range: 10
• After charging up, Fantastic Dragon deals Fire DMG with a slow effect to enemies in a fixed radius.
Lvl: 5
Attack
Physical
Range: 10
• After charging up, Fantastic Dragon deals Fire DMG with a slow effect to enemies in a fixed radius.
Lvl: 4
Buff
Range: 5
• Deals (Atk100%) Dmg to the target
Lvl: 3
Buff
Physical
• Deals (Atk100%) Dmg to the target
Lvl: 2
Buff
Physical
• Deals (Atk100%) Dmg to the target
Lvl: 1
Buff
Range: 10
• Deals (Atk100%) Dmg to the target
Formula
function CommonFun.calcDamage_32(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, targetUser, 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 BaseLvDamage = 0
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 93_KNIGHT:HEAVEN_S_DRIVE_KNIGHT:HEAVEN_S_DRIVE or skillID == 1483_GUILLOTINE_CROSS:HEAVEN_S_DRIVE then
local IBaseLv = srcUser.BaseLv
if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 15
end
end
if skillID == 1482_GUILLOTINE_CROSS:STORM_GUST_GUILLOTINE_CROSS:STORM_GUST then
local IBaseLv1 = srcUser.BaseLv
if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
BaseLvDamage = IBaseLv1 * 15
end
local GemValue = srcUser:GetGemValue(143161_STORM_GUST_DMG_PERCENTAGE)
damChangePer = damChangePer * (1 + GemValue / 100000)
end
local CardXR = 1
local CardNum = srcUser:GetEquipCardNum(7, 23048_HILL_WIND_CARD)
local CardNum2 = srcUser:GetEquipCardNum(7, 24664_HILL_WIND_STAR_CARD)
CardNum = CardNum + CardNum2
if skillID == 82_SWORDSMAN:LORD_OF_VERMILION_SWORDSMAN:LORD_OF_VERMILION then
CardXR = CardNum * 0.25 + 1
end
if skillID == 1939_SNIPER:MAGIC_WIND_JELLYFISH_SUMMON_SNIPER:MAGIC_WIND_JELLYFISH_SUMMON then
local skilllv_mf = srcUser:GetLernedSkillLevel(1933_SNIPER:DIM_WIND)
damChangePer = (skilllv_mf * 0.8 + 8.8) * 0.8
end
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 + RangeDam) * CardXR + BaseLvDamage
local Num1 = srcUser:GetRunePoint(143014_AESIR_STORM_GUST_DMG_7)
if skillID == 81_SWORDSMAN:STORM_GUST or skillID == 1482_GUILLOTINE_CROSS:STORM_GUST_GUILLOTINE_CROSS:STORM_GUST or skillID == 1904_HUNTER:STORM_GUST then
if srcUser:HasBuffID(52170_STORMY_KNIGHT_CARD_:MAX_STACK_0) and srcUser:HasBuffID(81000040_STORMY_KNIGHT_CARD_DEPOSITE_:MAX_STACK_0) then
A = A * 1.2
end
if srcUser:HasBuffID(53290_MARTIN_SCAVENGER_CARD_:MAX_STACK_0) then
A = A * 1.05
end
if 0 < Num1 then
A = A * (Num1 * 0.07 + 1)
end
local GemValue1 = srcUser:GetGemValue(21073_STORM_GUST_DMG_PERCENTAGE)
local GemValue2 = srcUser:GetGemValue(143073_STORM_GUST_DMG_PERCENTAGE)
A = A * (1 + GemValue1 / 100000 + GemValue2 / 100000)
end
if skillID == 1160_THIEF:EARTH_STRAIN then
local GemValue = srcUser:GetGemValue(21053_EARTH_STRAIN_DMG_PERCENTAGE)
A = A * (1 + GemValue / 100000)
end
if skillID == 82_SWORDSMAN:LORD_OF_VERMILION_SWORDSMAN:LORD_OF_VERMILION then
local GemValue = srcUser:GetGemValue(21062_LORD_OF_VERMILION_DMG_PERCENTAGE)
A = A * (1 + GemValue / 100000)
end
if skillID == 93_KNIGHT:HEAVEN_S_DRIVE_KNIGHT:HEAVEN_S_DRIVE then
local GemValue = srcUser:GetGemValue(21092_HEAVEN_S_DRIVE_DMG_PERCENTAGE)
A = A * (1 + GemValue / 100000)
end
if skillID == 3107_WHITESMITH:WIND_BLADE_ADJUDICATION then
local skilllv_kf = srcUser:GetLernedSkillLevel(3124_WHITESMITH:WIND_BLADE_ADJUDICATION_ENHANCE)
A = A * (1 + skilllv_kf * 0.05)
end
if (skillID == 3111_WHITESMITH:SAND_STORM or skillID == 1933_SNIPER:DIM_WIND or skillID == 1939_SNIPER:MAGIC_WIND_JELLYFISH_SUMMON_SNIPER:MAGIC_WIND_JELLYFISH_SUMMON) and (targetUser:HasBuffID(118140_EARTH_FIELD_:MAX_STACK_0) or targetUser:HasBuffID(125140_QUICKSAND_VORTEX_EMPTY_BUFF_:MAX_STACK_0)) then
local skilllv_slj = srcUser:GetLernedSkillLevel(3126_WHITESMITH:SAND_STORM_EARTH_ELEMENT)
local skilllv_mofeng = srcUser:GetLernedSkillLevel(1946_SNIPER:MAGIC_WIND_EARTH_ELEMENT)
A = A * (1 + skilllv_slj * 0.12 + skilllv_mofeng * 0.12)
end
if skillID == 3108_WHITESMITH:QUICKSAND_VORTEX or skillID == 1931_SNIPER:JELLYFISH_SUMMON then
local GemValue = srcUser:GetGemValue(21141_QUICKSAND_VORTEX_DMG_PERCENTAGE)
A = A * (1 + GemValue / 100000)
end
if A <= 1 then
return 1
end
return A
end
Enemy 6
function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = targetUser:GetProperty("MaxHp")
local A = MaxHp * (a + c) + b
if 0 < A or a == 0 then
return A
end
if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
return 0
end
if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local Refine = srcUser:GetProperty("Refine")
local MRefine = srcUser:GetProperty("MRefine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
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 MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreDef = srcUser:GetProperty("IgnoreDef")
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local raceparam = 1
local srcRace = srcUser.race
local targetRace = targetUser.race
if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
targetRace = 2
end
if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
srcRace = 2
end
if nil == CommonFun.RaceProps[targetRace] then
return 0
end
if nil == CommonFun.RaceProps[srcRace] then
return 0
end
local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
local raceparam = 1 + raceInc - raceRed
if raceparam <= 0.1 then
raceparam = 0.1
end
local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
if MAtkFinal <= AtkFinal then
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
else
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
end
end
local AttrFunction = srcUser:GetProperty("AttrFunction")
local bitfunc = CommonFun.getBits(AttrFunction)
if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
A = 0
end
if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
A = 0
end
if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
A = -1
end
if targetUser:DamageAlways1() then
A = -1
end
return A
end
Self
{
"id": 177591,
"BuffName": "Empty Buff 1",
"BuffRate": {
"Odds": 100
}
}
Enemy
{
"id": 177930,
"BuffDesc": "Corruption Poison: Each layer causes the target to lose 2% of their max health per second; when accumulated to 4 layers or more, it corrodes the target's armor, increasing physical and magical damage taken by 20%; when accumulated to 8 layers or more, the target falls into a continuous, immune and un-dispellable dark state; when accumulated to 12 layers, the healing received becomes ineffective.",
"BuffIcon": "skillbuff_182001",
"BuffName": "Degenerate corruption",
"BuffRate": {
"Odds": {
"a": 100,
"b": -100,
"c": 178261,
"type": 5041
}
},
"IconType": 1,
"Condition": {
"type": "HasBuff",
"nobuffid": [
178261
]
},
"LayerBuff": {
"4": [
177931
],
"8": [
177932
],
"12": [
177933
],
"check_del": 1
},
"BuffEffect": {
"Hp": {
"a": -0.02,
"b": 0,
"type": 6
},
"type": "HpReduce",
"limit_layer": 12,
"LayerState_self": [
177931,
177932,
177933
]
}
}
Formula
{
"id": 24102009,
"Buff": {
"self": [
177591
],
"enemy": [
177930
]
},
"Cost": 1,
"Desc": [
{
"id": 24173001,
"params": [
100
]
}
],
"Icon": "skill_1122001",
"Camps": "Enemy",
"Level": 1,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 32,
"damChangePer": 60,
"elementparam": 4
}
],
"DescId": "##1301911",
"NameZh": "##2834555",
"DamTime": {
"type": 1,
"value": 1
},
"Fire_EP": 3,
"Pvp_buff": {
"self": [
177591
],
"enemy": [
177930
]
},
"RollType": 1,
"Attack_EP": 3,
"Lead_Type": {
"type": 1,
"ReadyTime": 2.5
},
"SE_attack": "Skill/skill_magic_shadowexplode_attack",
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"range": 5,
"be_break": 1,
"range_num": 12,
"chant_buff": [
177723
],
"immune_taunt": 1,
"notcontroled": 1
},
"Launch_Range": 10
}