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

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