• 🏆 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!

Changing Unit's Real Field

Status
Not open for further replies.
Level 3
Joined
Mar 10, 2018
Messages
32
Hello Hive!

I am making a spell that increases unit's attack speed to an incredibly high value so that caster could attack like crazy (100 hits per sec).

Just giving an item-based AS boost wouldn't help because each unit has fixed attack cooldown and swing back values in object editor unreachable by triggers, not until the latest patch though. So I tried new native: Unit - Set Unit's Real Field.

img.PNG


I tried everything but none of those has any effect =/
How can I make it work?

P.S.: What do those indexes mean? And why for Attack Interval they are numbered 1 and 2, but for Weapon they are 0 and 1?
 
Status
Not open for further replies.
Top