• 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.

PLEASE HELP:SPELL DAMAGE

Status
Not open for further replies.
Level 1
Joined
Nov 23, 2004
Messages
3
FIRST OF ALL HOW CAN I CREATE A SPELL THAT DAMAGES ENEMIES IN AN AREA.I CREATE THE DUMMY SPELL THAT DOES 0 DAMAGE AND AFTER THAT I PICK UNITS THAT ARE NEAR THE CASTING UNIT AND SET THEIR HEALTH TO THEIR HEALTH - DAMAGE BUT IT DOES NO DAMAGE AT ALL.WHAT DO I HAVE TO DO AND TELL ME HOW TO CREATE A SPELL THAT DOES DAMAGE TO THE ENEMY YOU SELECT(ONLY ONE).
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
First of all, writting only in caps is against the rules. Keep that in mind.

Secondly, just use a spell which targets an AoE but does nothing. You can use for example cloud which doesn't prevent any damage, lasts 0.01 seconds and hits nobody. As for triggers, (Pick Up Every Unit Within (Target Point of Ability) offset by (your AoE) Matching Conditions (matching Unit Belong to an Enemy of (Casting Unit) equal to true) and do actions
- Create One Dummy Unit at (Position of (Picked Unit)) for (Owner of (Casting Unit))
- Set 1.00 expiration timer to (Last Created Unit)
- Order (Last Created Unit) to Damage (Picked Unit) for (YourDamage), using Magical attack.
 
Status
Not open for further replies.
Top