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

Detect If auto-cast is enabled

Status
Not open for further replies.
Level 6
Joined
Oct 23, 2006
Messages
223
Im making a spell called Heroic Strike. It's an autocast spell based on searing arrows that is supposed to war stomp each time the unit attacks.

I used "event-effect of spell starts" and "event-unit begins casting a spell", it only works if i manually cast the spell but the triggers don't activate when my hero auto-cast uses it. Can anyone help me solve this?

Oh yeah how do you put a text at the very end of a description? Like how heroes in maps have "str 24+2.4 and agi 17=1.7 and int 15=1.5" all lined up at the bottom of the description. Do they manually find the correct amount of spaces for this?
 
Level 11
Joined
Jul 12, 2005
Messages
764
Event - Unit is issued an order
Cond - Level of Heroic Strike for Triggering Unit is greater than 0
Action -
If Issued order is equal to "flamingarrowson"
Set HeroicStrike = 1
If Issued order is equal to "flamingarrowsoff"
Set HeroicStrike = 0

Event - Unit is attacked
Cond -
Level of Heroic Strike for Attacking Unit is greater than 0
Mana of Attacking Unit is greater then or equal to [Manacost of Haroic Strike]
HeriocStrike is equal to 1
Action -
Dummy casts a war stomp...

Note that this doesn't work if the ability has cooldown.
 
Status
Not open for further replies.
Top