Actually, at least according to your quote, using a sling with Magic Stones still remains a "spell attack" - not a "weapon attack" - but it still qualifies as a ranged attack. Without other information, I wonder why simply throwing a Magic Stone is not also a ranged attack.