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

Mana burn control

Status
Not open for further replies.
Level 4
Joined
Jul 25, 2005
Messages
48
How would I go about making a spell that does mana burn to heroes and on regular units it takes control of them, also is it possible to make a timer on the units control time?
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Of course it is possible. You can base your spell off chain lightning which does 0 damage and targets only one unit. Then, depending on the type of the target (hero or unit) you order a dummy unit to either cast mana burn, or cast The_Raven's temporary charm which can be found between his spells. It's called Seduce.

~Daelin
 
Level 4
Joined
Jul 25, 2005
Messages
48
Well I am not sure how to make the dummy unit, do I just make the unit netral invilnerable, won't people be able to see it, and I can't make the dummy cast the custom ability I gave it in the action on the target of the spell. Lastly is there a way to check level ability, and how would I go about the level of the ability?
 
Level 2
Joined
Apr 8, 2005
Messages
13
make the dummy unit based on the Night Elf Wisp, remove all his abilities and set his food cost to 0. Add the Locust ability and the ability you want him to cast. Set his model to None.
then make a trigger like this;
a unit starts the effect of an ability
condition ability being cast equal to <the hero dummy abilitie based on chainlighting)
action
> if targeted unit of spell is a Hero equal to true
- create a wisp for owner of casting unit at position of casting unit
- set level of manaburn-dummy-spell for last crated unit to (level of dummy-chainlighting-hero-spell) (this action will make the dummy ability be the same lvl of the original hero spell, so u must make the manaburn dummy spell have same lvl amount of the original spell)
- give last created unit a expiration time of 2 sec
- order last created unit to manaburn targeted unit of abilitie being cast
> else
- change owner of targeted unit to owner of casting unit changing or not the color
- wait x sec
- change owner of targeted unit of ability being cast to previous owner of targeted unit of ability being cast

---

this is just a scrap, and the way i made this scrap triger will leak, so u just have to remove leaks xD
 
Status
Not open for further replies.
Top