
Electrify Field
Lvl: 5
Passive
Wind Element Damage has a 100% chance to make the enemy enter [Electrify Status], and will cause Wind True Dmg (M.Atk x100%) to all friends around every second. [Electrify Field] lasts 5 seconds.
Lvl: 4
Passive
• Wind Element Damage has a 80% chance to make the enemy enter [Electrify Status], and will cause Wind True Dmg (M.Atk x80%) to all friends around every second. [Electrify Field] lasts 5 seconds.
Lvl: 3
Passive
• Wind Element Damage has a 60% chance to make the enemy enter [Electrify Status], and will cause Wind True Dmg (M.Atk x60%) to all friends around every second. [Electrify Field] lasts 5 seconds.
Lvl: 2
Passive
• Wind Element Damage has a 40% chance to make the enemy enter [Electrify Status], and will cause Wind True Dmg (M.Atk x40%) to all friends around every second. [Electrify Field] lasts 5 seconds.
Lvl: 1
Passive
• Wind Element Damage has a 20% chance to make the enemy enter [Electrify Status], and will cause Wind True Dmg (M.Atk x20%) to all friends around every second. [Electrify Field] lasts 5 seconds.
Self 661
function CommonFun.calcBuff_661(srcUser, targetUser, a, b, c, d, lv, damage)
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 MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = 1
local targetDefElement = targetUser:GetProperty("DefAttr")
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local BaseMAtk = Int + math.floor(Int * Int / 100)
local ElementRate = CommonFun.GetElementRate(srcUser, srcAtkElement, targetUser, targetDefElement)
if (srcUser:HasBuffID(69650_8608_:MAX_STACK_0) or srcUser:HasBuffID(71090_10658_:MAX_STACK_0)) and 1 < ElementRate then
ElementRate = ElementRate * 1.1
end
if targetUser:HasBuffID(49130_DIVINE_HYMN_CARVER_:MAX_STACK_0) then
ElementRate = math.min(ElementRate, 1)
end
if srcUser:HasBuffID(49210_7892_:MAX_STACK_0) then
ElementRate = ElementRate + 0.15
end
if srcUser:HasBuffID(77480_48193_VICTORY_SWALLOW_1_:MAX_STACK_0) then
ElementRate = ElementRate + 0.1
end
local NpcParam = CommonFun.NpcParam(srcUser, targetUser, params, damageParam, logger)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * ElementRate * NpcParam
local skilllv = srcUser:GetLernedSkillLevel(3102_WHITESMITH:ELECTRIFY_FIELD)
local skilllv2 = srcUser:GetLernedSkillLevel(3120_WHITESMITH:ELECTRIFY_FIELD_INCREASE)
local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
local WindAtk = srcUser:GetProperty("WindAtk")
local A = -(MAtkFinal * (1 + MDamSpike) + MRefine) * skilllv * 0.2 * (1 + WindAtk) * (1 - RefineMDamReduc) * (1 + MDamIncrease) * (1 + skilllv2 * 0.05)
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": 125100,
"BuffName": "Electrify Field",
"BuffRate": {
"Odds": 100
},
"Condition": {
"type": "Attack",
"all_skill": 1,
"need_AtkAttr": [
1
],
"must_have_damage": 1,
"buff_skill_can_trigger": 1
},
"BuffEffect": {
"id": [
125101
],
"Odds": 100,
"type": "AddBuff"
}
}
Self
{
"id": 125101,
"BuffName": "Electrify Field (Enemy)",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"id": [
125102
],
"Odds": 100,
"type": "AddBuff"
},
"BuffStateID": 125100
}
Self
{
"id": 125102,
"BuffName": "Electrify Field Damage",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"type": 661
},
"type": "HSPChange"
}
}
Formula
{
"id": 3102005,
"Buff": {
"self": [
125100
]
},
"Cost": 1,
"Desc": [
{
"id": 3102000,
"params": [
100,
100
]
}
],
"Icon": "skill_3102001",
"Level": 5,
"DescId": "##170651",
"NameZh": "##159037",
"ItemCost": [
{
"id": 12903,
"count": 1350
}
],
"Pvp_buff": {
"self": [
125100
]
},
"DamageType": 4,
"ExtraMaxLevel": 0
}