
Virus Diffusion
Lvl: 10
Attack
Physical
Skill Delay: 2.5 sec
SP: 21
Range: 1.5
Spreads plague to an enemy, dealing (Atk150%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 9
Attack
Physical
Skill Delay: 2.5 sec
SP: 20
Range: 1.5
• Spreads plague to an enemy, dealing (Atk140%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 8
Attack
Physical
Skill Delay: 2.5 sec
SP: 19
Range: 1.5
• Spreads plague to an enemy, dealing (Atk130%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 7
Attack
Physical
Skill Delay: 2.5 sec
SP: 18
Range: 1.5
• Spreads plague to an enemy, dealing (Atk120%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 6
Attack
Physical
Skill Delay: 2.5 sec
SP: 17
Range: 1.5
• Spreads plague to an enemy, dealing (Atk110%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 5
Attack
Physical
Skill Delay: 2.5 sec
SP: 16
Range: 1.5
• Spreads plague to an enemy, dealing (Atk100%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 4
Attack
Physical
Skill Delay: 2.5 sec
SP: 15
Range: 1.5
• Spreads plague to an enemy, dealing (Atk90%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 3
Attack
Physical
Skill Delay: 2.5 sec
SP: 14
Range: 1.5
• Spreads plague to an enemy, dealing (Atk80%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 2
Attack
Physical
Skill Delay: 2.5 sec
SP: 13
Range: 1.5
• Spreads plague to an enemy, dealing (Atk70%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Lvl: 1
Attack
Physical
Skill Delay: 2.5 sec
SP: 12
Range: 1.5
• Spreads plague to an enemy, dealing (Atk60%) Dmg to the target and all nearby enemies. If the target is poisoned, the poison spreads to all enemies in the area. The poison effects stack up to 3 layers
Aesir
• Virus Diffusion I [Virus Diffusion] Dmg +5%
Formula
function CommonFun.calcDamage_42(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 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 RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
local damChangePer1 = damageParam.damChangePer1
local AttrEffect2 = srcUser:GetProperty("AttrEffect")
local bits2 = CommonFun.getBits(AttrEffect2)
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 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 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 ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local Weapon = srcUser:GetEquipedID(7_WEAPON)
local B = 1
if Weapon == 40738_VENOM_DAGGER_1 or Weapon == 140738_VENOM_DAGGER_2 then
B = 2
end
local weaponRefineLv_2 = srcUser:GetEquipedRefineLv(7_WEAPON)
local zidu = 0
if srcUser:HasBuffID(90001313_VENOM_DAGGER_R4_:MAX_STACK_0) then
zidu = weaponRefineLv_2 * 0.05
end
local Num1 = srcUser:GetRunePoint(32014_AESIR_VIRUS_DIFFUSION_DMG_5)
local Num2 = srcUser:GetRunePoint(32015)
local Num3 = srcUser:GetRunePoint(32016)
local Num4 = srcUser:GetRunePoint(32017)
local Num5 = srcUser:GetRunePoint(32018)
local RuneDamage = Num1 * 0.05 + Num2 * 0.05 + Num3 * 0.05 + Num4 * 0.05 + Num5 * 0.05 + 1
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + zidu) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) + damChangePer1 - Vit2 * (1 + VitPer2)) * B * RuneDamage
if A <= 1 then
return 1
end
if bits2[CommonFun.AttrEffect.Hualiduanjian] == 1 then
return A * 1.5
end
return A
end
Enemy 8990
function CommonFun.calcBuff_8990(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = targetUser:GetProperty("MaxHp")
local PoisonAtk = srcUser:GetProperty("PoisonAtk")
local PoisoningAtk = srcUser:GetProperty("PoisoningAtk")
local StateAtk = srcUser:GetProperty("StateAtk")
local skilllv_1 = srcUser:GetLernedSkillLevel(3925_DIVINE_AVENGER:SOUL_EROSION_POISONOUS_SOUL)
local duhun = 1
if 1 <= skilllv_1 and targetUser:GetNpcID() ~= 0 then
duhun = (PoisonAtk + PoisoningAtk + StateAtk) / 5 * (0.1 * skilllv_1 + 0.3) + 1
end
local A = a * duhun * MaxHp
local B = a * duhun
A = CommonFun.calcBuff_6(srcUser, targetUser, B, b, c, d, lv)
return A
end
Enemy
{
"id": 95350,
"BuffName": "Virus Spread (Poison)",
"BuffRate": {
"Odds": {
"a": 1,
"type": 10
}
},
"BuffEffect": {
"id": [
95351,
95352
],
"type": "AddBuff"
}
}
Enemy
{
"id": 95351,
"BuffDesc": "Poisoning: decrease Def, stop restoring MP, loses HP",
"BuffIcon": "skillbuff_182001",
"BuffName": "Virus Spread [Poison]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "StatusChange",
"DefPer": -0.25,
"AttrEffect": [
3,
4
],
"StateEffect": "1_Poison"
},
"BuffStateID": 120030
}
Enemy
{
"id": 95352,
"BuffName": "Virus Spread (Poison)",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"Hp": {
"a": -0.02,
"b": -3,
"type": 8990
},
"type": "HpReduce",
"delHpPer": {
"a": 0.2,
"type": 153
},
"StateEffect": "1_Poison",
"limit_layer": 3
}
}
Formula
{
"id": 182010,
"Buff": {
"enemy": [
95350
]
},
"Cost": 1,
"Desc": [
{
"id": 182000,
"params": [
150,
3
]
}
],
"Icon": "skill_182001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 42,
"damChangePer": 1.5,
"damChangePer1": 50
}
],
"DescId": "##170261",
"NameZh": "##160684",
"SE_hit": "Skill/Spear_hit",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 2.5,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
95350
]
},
"RollType": 1,
"AttackAct": [
"use_skill"
],
"Attack_EP": 3,
"SE_attack": "Skill/skill_magic_venomdust_attack",
"SkillCost": {
"sp": 21
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"range": 3,
"range_num": 8
},
"Launch_Range": 1.5
}