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