


So it's pretty reasonable for the spell you're trying to create to simply use a Melee Spell Attack (or a Melee Weapon Attack, if it's triggered identically to Green-Flame Blade or Booming Blade) to decide its success or failure. The creature being targeted by the attack has to be within the 5 foot range of the physical location of the spiritual weapon at the time the attack is being made, as though the spellcaster them self were at that location.A spellcaster making an attack using spiritual weapon isn't subject to the Disadvantage that would be conferred upon their attack roll if a hostile creature were within 5 feet of them in contrast to how ranged attacks normally behave.That might seem unintuitive, but the mechanical consequences are very clear: For example, the spell spiritual weapon allows the spellcaster to make a "melee spell attack" against a creature that's quite a substantial distance away from the spellcaster. Granted, the line between these types of attacks is not always clear-cut. That doesn't necessarily preclude you, as DM, from adjudicating further types of attacks, but given how many rules directly and explicitly interact with the rules for these two types of attacks, I don't think it's advisable to create a third category of attack. 193-), there's subheadings for Melee Attacks and Ranged Attacks, and no further distinction is made. In the Player's Handbook, under the section Making an Attack (pg. 5th Edition D&D only recognizes Melee and Ranged attacks, irrespective of whether it is a Weapon attack or not
