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

Remove Attack Cooldown?

Status
Not open for further replies.
Level 12
Joined
Jun 28, 2008
Messages
688
Is there a way in JASS to remove the attack cooldown of a unit after it attacks, or reset it or something?
What I am trying to do is have a hero with the Hydra model attack 3x in a row very quickly.
I tried everything in GUI. The closest I can get is having a dummy cast Bloodlust with 100x attack speed increase. But honestly, that's not fast enough. It still interrupts the time that the next attack would normally start, which is an undesired effect.
I would greatly appreciate any input on this subject, and if you can figure out a way with JASS you'll probably need to explain to me what to do with the code, as I am a gigantic JASS noob.
 
Level 3
Joined
May 11, 2009
Messages
42
I usually make a counter attack ability where i increase the units animation speed by 200%, trigger the attack animation and then have it deal damage to the unit attacking it... you could probably play around with this and get more or less what you are after...

use damage taken to get what damage the hydra deals, and then each time it lands one of the 3 attacks deal that damage to the target... or something ^^
 
Status
Not open for further replies.
Top