
Soul Decay
Lvl: 10
Attack
Physical
CD: 3.5 sec
Skill Delay: 1 sec
SP: 92
Range: 5
Cast Time: 4
Consume 1 Soul to deal Poison Physical DMG (Atk x2280%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 9
Attack
Physical
CD: 4 sec
Skill Delay: 1 sec
SP: 89
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x2120%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 8
Attack
Physical
CD: 4.5 sec
Skill Delay: 1 sec
SP: 86
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1960%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 7
Attack
Physical
CD: 5 sec
Skill Delay: 1 sec
SP: 83
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1800%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 6
Attack
Physical
CD: 5.5 sec
Skill Delay: 1 sec
SP: 80
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1640%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 5
Attack
Physical
CD: 6 sec
Skill Delay: 1 sec
SP: 77
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1480%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 4
Attack
Physical
CD: 6.5 sec
Skill Delay: 1 sec
SP: 74
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1320%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 3
Attack
Physical
CD: 7 sec
Skill Delay: 1 sec
SP: 71
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1160%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 2
Attack
Physical
CD: 7.5 sec
Skill Delay: 1 sec
SP: 68
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x1000%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Lvl: 1
Attack
Physical
CD: 8 sec
Skill Delay: 1 sec
SP: 65
Range: 5
Cast Time: 4
• Consume 1 Soul to deal Poison Physical DMG (Atk x840%) to all enemies within 3 meters. If an enemy is infected with [New Poison] within the range, add [New Poison] to all enemies.
Formula
function CommonFun.calcDamage_3502(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 Hp2 = targetUser:GetProperty("Hp")
local MaxHp2 = targetUser:GetProperty("MaxHp")
local damChangePer = damageParam.damChangePer
local AttrEffect = srcUser:GetProperty("AttrEffect")
local bits = CommonFun.getBits(AttrEffect)
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 A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
if A <= 1 then
return 1
end
if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
return A * 1.5
end
return A
end
Self 6270
function CommonFun.calcBuff_6270(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local skilllv = srcUser:GetLernedSkillLevel(3902_DIVINE_AVENGER:SOUL_PROTECTION)
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local A = Atk * (1 + AtkPer) * skilllv * 0.6
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
Self
{
"id": 130580,
"BuffDesc": "Absorbs DMG",
"BuffIcon": "skillbuff_commonbuff",
"BuffName": "Soul Armor (Absorbs DMG)",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 1,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AbsorbDamage",
"AbsorbAmount": {
"type": 6270
}
},
"BuffStateID": 130580
}
Enemy
{
"id": 116013,
"BuffName": "Poisonous Weapon [Poisoned]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 0
},
"BuffEffect": {
"type": "StatusChange",
"DefPer": -0.25,
"AttrEffect": [
3,
4
],
"StateEffect": "1_Poison",
"IsForceStatus": 1
},
"BuffStateID": 116013
}
Enemy
{
"id": 116014,
"BuffDesc": "New Poison: decrease Def, stop restoring MP, loses HP. Cannot be removed",
"BuffIcon": "skillbuff_178001",
"BuffName": "Poisonous Weapon [Poisoned]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 0
},
"IconType": 1,
"BuffEffect": {
"Hp": {
"a": -0.03,
"b": -3,
"type": 8990
},
"type": "HpReduce",
"EquipASPD": {
"a": 0,
"b": 0,
"c": 31071,
"type": 5020
},
"MoveSpdPer": {
"a": 0,
"b": 0,
"c": 31072,
"type": 5020
},
"StateEffect": "1_Poison",
"limit_layer": 3,
"BeHealEncPer": {
"a": 0,
"b": 0,
"c": 34070,
"d": -0.05,
"type": 3250
},
"IsForceStatus": 1
}
}
Enemy
{
"id": 130570,
"BuffName": "Soul Decay (New Poison)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"id": [
116013,
116014
],
"type": "AddBuff"
}
}
Formula
{
"CD": 3.5,
"id": 3911010,
"Buff": {
"self": [
130580
],
"enemy": [
130570
]
},
"Cost": 1,
"Desc": [
{
"id": 3911000,
"params": [
2280
]
}
],
"Icon": "skill_3911001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillPointRange",
"Damage": [
{
"type": 3502,
"damChangePer": 22.8,
"elementparam": 10
}
],
"DescId": "##171342",
"NameZh": "##169596",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 1
},
"DelayCD": 1,
"Fire_EP": 3,
"ItemCost": [
{
"id": 12903,
"count": 1580
}
],
"Pvp_buff": {
"self": [
130580
],
"enemy": [
130570
]
},
"RollType": 1,
"AttackAct": [
"use_skill"
],
"Attack_EP": 0,
"Lead_Type": {
"CCT": 0,
"FCT": 4,
"type": 2
},
"SE_attack": "Skill/skill_magic_rotsoul_attack",
"SkillCost": {
"1": {
"num": 1,
"buffID": 130503
},
"sp": 92
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 1,
"Logic_Param": {
"loop": false,
"count": 1,
"range": 3,
"effect": "Eff_SoulDecay,LowRange_B2",
"interval": 1,
"no_select": 1,
"isCountTrap": 1,
"addBuffCondition": {
"type": 1,
"buffs": [
116013,
116014
]
},
"fieldarea_cannot_immune": 1
},
"Launch_Range": 5,
"ExtraMaxLevel": 0
}