• 🏆 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!

Spell Bug

Status
Not open for further replies.
Level 14
Joined
Jul 12, 2011
Messages
1,370
Hey everyone!
I'm making a spell with the following description:
Watery Servant: Summons a water elemental to cast a wave of water at a random direction. The wave deals 100 damage.

The water elemental gets summoned but there's no wave at all.
Here's the trigger:
  • Watery Servant
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Watery Servant
    • Actions
      • Set Point019 = (Position of (Triggering unit))
      • Unit - Create 1 Water Element Dummy for (Owner of (Triggering unit)) at (Point019 offset by (0.00, 100.00)) facing (Random angle) degrees
      • Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm (Random point in (Region centered at Point019 with size (300.00, 300.00)))
      • Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation (udg_Point019)
Watery Sevant is based on War Stop and the elemental knows a Carrion Swarm-like spell.

Thanks.
 
Status
Not open for further replies.
Top