Formula

CommonFun.calcBuff_4120

function CommonFun.calcBuff_4120(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Str = srcUser:GetProperty("Str")
  local A = 0.05
  if srcUser:HasBuffID(90002173_DOOM_SLAYER_R4_:MAX_STACK_0) then
    if 240 <= Str then
      A = 0.25
    elseif 210 <= Str then
      A = 0.15
    elseif 180 <= Str then
      A = 0.1
    end
  end
  return A
end