• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Problems with heal based spell

Status
Not open for further replies.
Level 2
Joined
Sep 3, 2006
Messages
14
Basically, the spell is an anti heal. A hurt unit loses health when he uses this spell. When it comes gets anti-healed, it is slowed as well.

So my code
Code:
Excorcise
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Excorcise
Actions
Set ExPoint = (Position of (Triggering unit))
Set Ex_Target = (Target unit of ability being cast)
Unit - Create 1 ExDummy for (Owner of (Triggering unit)) at ExPoint facing ExPoint
Wait 0.01 seconds
Unit - Order (Last created unit) to Orc Shaman - Purge Ex_Target
Unit - Remove (Last created unit) from the game


Anyone know what is wrong?
 
Status
Not open for further replies.
Top