Formula

CommonFun.calcBuff_3480

function CommonFun.calcBuff_3480(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  local Str = targetUser:GetProperty("Str")
  local A = 0
  if 15 <= RefineLv then
    A = math.floor(Str / 10) * 4
  end
  if A <= 0 then
    return 0
  end
  return A
end