• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How To Make Custom Abilitys AutoCast

Status
Not open for further replies.
Level 5
Joined
Nov 12, 2007
Messages
134
Yes, you can. If you want to make your spell targets enemies, then make a custom spells out of Faerie Fire or Slow, take out the effects, and set the duration to 0.01. Make a trigger like this:

  • Frost Nova
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frost Nova (Auto-cast)
    • Actions
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing degrees
      • Unit - Add Frost Nova (Dummy) to (Last created unit)
      • Unit - Set level of Frost Nova (Dummy) for (Last created unit) to (Level of Frost Nova (Auto-cast) for (Triggering unit))
      • Unit - Order (Last created unit) to Undead Lich - Frost Nova (Target unit of ability being cast)
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)

If your spell targets allies, then do the same thing, but base your spell off Bloodlust.

Note: These spells will NOT fire if there is no combat. For example, Slow will NOT fire if the enemy is not attacking you or an ally.
 
Status
Not open for further replies.
Top