Formula
CommonFun.calcBuff_3600
function CommonFun.calcBuff_3600(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local skilllv_1 = srcUser:GetLernedSkillLevel(103180_:PARALYZING_SHOCK)
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) * (1 - StateDef2)
if StateDam <= 0 then
StateDam = 0
end
local A = (skilllv_1 * a + b) * SlowDam * StateDam * CommonFun.calcAttrSlowRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
end