Level ?
Skill #80007002
Deals (Atk[8df936]%s%%[-]) Dmg to a target and reduces their Move Spd
Formulas & functions
CommonFun links
CommonFun.calcBuff_150
buffEnemy
80007002buff | Buffs 70050090
Formula source
function CommonFun.calcBuff_150(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local PoisonAtk = srcUser:GetProperty("PoisonAtk")
local PoisonDef2 = targetUser:GetProperty("PoisonDef")
local PoisonDam = 1 + PoisonAtk - PoisonDef2
if PoisonDam <= 0 then
PoisonDam = 0
end
local StateAtk = srcUser:GetProperty("StateAtk")
local StateDef2 = targetUser:GetProperty("StateDef")
local StateDam = 1 + StateAtk - StateDef2
if StateDam <= 0 then
StateDam = 0
end
local A = (lv * a + b) * PoisonDam * StateDam * CommonFun.calcAttrPoisonRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endCommonFun.calcBuff_160
buffEnemy
80007002buff | Buffs 70050091
Formula source
function CommonFun.calcBuff_160(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local SlowAtk = srcUser:GetProperty("SlowAtk")
local SlowDef2 = targetUser:GetProperty("SlowDef")
local SlowDam = 1 + SlowAtk - SlowDef2
if SlowDam <= 0 then
SlowDam = 0
end
local StateAtk = srcUser:GetProperty("StateAtk")
local StateDef2 = targetUser:GetProperty("StateDef")
local StateDam = 1 + StateAtk - StateDef2
if StateDam <= 0 then
StateDam = 0
end
local A = (lv * a + b) * SlowDam * StateDam * CommonFun.calcAttrSlowRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endSkill JSON (Level ?)
{
"id": 80007002,
"NameZh": "",
"Icon": "",
"SkillType": "Buff",
"Camps": "Enemy",
"Launch_Range": 6,
"Fire_EP": 3,
"Target_EP": 2,
"Attack_EP": 3,
"Logic": "SkillSelfRange",
"Logic_Param": {
"range": 3
},
"Buff": {
"enemy": [
70050090,
70050091
]
},
"Pvp_buff": {
"enemy": [
70050090,
70050091
]
},
"AttackAct": [
"attack"
]
}