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

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