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

Spell Request

Status
Not open for further replies.
Level 2
Joined
Mar 15, 2004
Messages
7
Looking for some help on making a spell. I am making a WoW oriented map, and have been fine so far with triggered abilities and such, but this one has me stumped. Im trying to make something like the Imps Blood Pact ability in World of Warcraft, where, when activated, all units within a set area have thier hitpoints increased by x hp. Any help would be appreciated.
 
Level 3
Joined
Nov 8, 2005
Messages
51
If u dont mean an aura u should try something like this.
Code:
Event - Unit starts the effect of an ability
Condition - Ability being cast equal to Whatever
Actions
-Unit group Pick all units in range 500 of casting unit and do actions:
 -Set UnitGroup_Whatever is last created unit group 
 -Unit add ability Whatever_Ability to picked unit
 -Wait 30 seconds
 -Unit group Pick all units in UnitGroup_whatever and   remove ability Whatever_Ability from picked unit

Variables used:
UnitGroup_Whatever - Unit Group

I hope u understnad it if u dont plz PM me and Ill work this spell out for you.
 
Status
Not open for further replies.
Top