• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] Adding bonus damage and attack speed

Status
Not open for further replies.
Level 9
Joined
Apr 4, 2004
Messages
519
I'm looking to create a heroic ability like the Searing Arrow but with the added bonus of increased attack speed while active. Meaning it's an auto cast ability that increases the hero's attack damage and speed whilst draining mana with each attack until deactivated.

Currently stuck on how I could add the extra attack speed while the auto cast is active but not remain after it's deactivated. :| Any help is appreciated.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Be aware that WC3 has a hard coded maximum of +400% faster attack speed (including buffs, items and agility stat). As such if this is a hero it might run into the attack speed limit.

Activating is an auto cast on order event. Deactivating is an auto cast off order event. Both are no target.

You could periodically check the unit every second and if it has too little mana force turn the auto cast off.
 
Status
Not open for further replies.
Top