Lightning Arrow

SpellXPHBp. 2922024
Level
3 · Transmutation
Casting time
1 bonus (which you take immediately after hitting or missing a target with a ranged attack using a weapon)
Range
Self
Components
V, S
Duration
Instantaneous

As your attack hits or misses the target, the weapon or ammunition you're using transforms into a lightning bolt. Instead of taking any damage or other effects from the attack, the target takes 4d8 Lightning damage on a hit or half as much damage on a miss. Each creature within 10 feet of the target then makes a Dexterity saving throw, taking 2d8 Lightning damage on a failed save or half as much damage on a successful one.

The weapon or ammunition then returns to its normal form.

Using a Higher-Level Spell Slot

The damage for both effects of the spell increases by 1d8 for each spell slot level above 3.

Raw data
{
  "name": "Lightning Arrow",
  "page": 292,
  "time": [
    {
      "unit": "bonus",
      "number": 1,
      "condition": "which you take immediately after hitting or missing a target with a ranged attack using a weapon"
    }
  ],
  "level": 3,
  "range": {
    "type": "point",
    "distance": {
      "type": "self"
    }
  },
  "__prop": "spell",
  "school": "T",
  "source": "XPHB",
  "classes": {
    "fromClassList": [
      {
        "name": "Ranger",
        "source": "XPHB"
      }
    ]
  },
  "entries": [
    "As your attack hits or misses the target, the weapon or ammunition you're using transforms into a lightning bolt. Instead of taking any damage or other effects from the attack, the target takes {@damage 4d8} Lightning damage on a hit or half as much damage on a miss. Each creature within 10 feet of the target then makes a Dexterity saving throw, taking {@damage 2d8} Lightning damage on a failed save or half as much damage on a successful one.",
    "The weapon or ammunition then returns to its normal form."
  ],
  "areaTags": [
    "S"
  ],
  "duration": [
    {
      "type": "instant"
    }
  ],
  "_tmpFeats": [],
  "_tmpRaces": [],
  "_tmpGroups": [],
  "components": {
    "s": true,
    "v": true
  },
  "_tmpClasses": {},
  "savingThrow": [
    "dexterity"
  ],
  "_isMutEntity": true,
  "damageInflict": [
    "lightning"
  ],
  "_tmpBackgrounds": [],
  "_tmpSourcesInit": true,
  "entriesHigherLevel": [
    {
      "name": "Using a Higher-Level Spell Slot",
      "type": "entries",
      "entries": [
        "The damage for both effects of the spell increases by {@scaledamage 4d8;2d8|3-9|1d8} for each spell slot level above 3."
      ]
    }
  ],
  "_tmpOptionalfeatures": []
}