• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Spell] Passive Item Ability w/ Auto Attack Not Working

Status
Not open for further replies.

Baby Michaek

B

Baby Michaek

So, I currently have an item where it has a chance to have a chain lightning ability be used.

I used the Orb of Lightning for it, along with the Chain Lightning ability in the "Data-Effect Ability" field. No triggers.

In game, the item works great...

BUT when the unit with the item auto attacks, the chain lightning doesn't work. You have the manually click the enemy unit for the ability to work..

Any ideas?

Thanks :D
 
I also searched for answers for these problems. You will need triggers. Warcraft III works like that, and there is no changing it. You can make a trigger that will make your "AUTO-ATTACK" to "MANUALLY ATTACK" an enemy unit. Let's say when an enemy unit comes within range of the unit with Orb of Lightning, then make the unit with Orb of Lightning to Attack the incoming enemy unit. Also, you should add a condition that if the unit with Orb of Lightning is already attacking, this trigger I am talking must not run, or else the attack target will always change.

It is preferred that your Event should have a detection range value that has less than the value of Combat - Acquisition Range of the unit.
 
Status
Not open for further replies.
Back
Top