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

Auto-cast on both Allies and Enemies?

Status
Not open for further replies.
Level 4
Joined
Aug 5, 2007
Messages
49
Hey is there a spell that auto-casts on both allies and enemies? Trying to make an auto-portal that'll just throw casts around on the nearest unit, I can make it work for enemies but I want it to cast on allies as well, perhaps two separate ones? I'm thinkin one based off Curse and one based off Bloodlust, are better options out there?
 
Level 16
Joined
Mar 25, 2016
Messages
1,327
All autocast spells have certain behaviours.
Bloodlust for example will be casted when a unit attacks. It should work for allies and enemies, if you set targets allowed correctly.
Heal would target wounded units, frost armor attacked units, faerie fire engaging units,...
I don't think there is an autocast spell, that targets a nearby unit without an event.
 
Level 4
Joined
Aug 5, 2007
Messages
49
Hmm, heal or bloodlust should work fine for my purposes then. I want it to portal some dummy-like units that come near it, if I wound those dummy units on creation it should serve just fine.

The goal is to spawn a circle of power with "serpent ward" that teles nearby units to a random other portal, dealing 5% their max hp (triggered) if enemy. I tried with curse, and it works ok-ish on enemies but wont relocate allies. Making a boss unit that can spawn these portals then hurl death-coil like units through it, that have a small range pheonix fire that send death coils at nearby enemies. I can give em a large hp base and start em at half hp, so the players can kill those death coil bolts too.
 
Status
Not open for further replies.
Top