[Trigger] Charged Lightning spell

Level 4
Jun 22, 2009
  • Charged Lightning
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Charged Lightning
    • Actions
      • Set Lightningcaster = (Triggering unit)
      • Wait 1.00 seconds
      • Unit - Create 1 Lightning for (Owner of Lightningcaster) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
      • Set Lightning = (Last created unit)
      • Unit - Cause Lightning to damage (Target unit of ability being cast), dealing 975.00 damage of attack type Chaos and damage type Lightning
      • Wait 5.00 seconds
      • Unit - Remove Lightning from the game
      • Unit - Unpause Lightningcaster
the spell is supposed to hit the target with lightning and paralyze it,but the dummy wont appear or damage D:. What's wrong?
It's based on Storm Bolt