• 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 atk speed with triggers

Status
Not open for further replies.
Level 21
Joined
Aug 13, 2011
Messages
739
Use the Item Attack Speed Bonus (Gloves of Haste) ability as an attack speed modifier. Hold shift while clicking the value to get a negative number to slow attack speed. You can add different levels of different speeds to the ability and change them through triggering.

Examples:
  • Actions
    • Unit - Add Item Attack Speed Bonus (Gloves of Haste) to Unit

  • Actions
    • Unit - Set level of Item Attack Speed Bonus (Gloves of Haste) for Unit to 2
Let's say level 1 gives -0.1 attack speed increase. That would reduce attack speed as it's a negative value. Level 2 could be 0.1 which increases attack speed instead of reducing it. You can add as many levels and attack speed modifiers as you need with only one ability.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
In addition to Tickles post:
Make 10 abilities with all 1 level:
Ability1: 0.01 increase
Ability2: 0.02 increase
Ability3: 0.04 increase
Ability4: 0.08 increase
Ability5: 0.16 increase
Ability6: 0.32 increase
Ability7: 0.64 increase
Ability8: 1.28 increase
Ability9: 2.56 increase
Ability10: -5.12 increase

By adding the right abilities, you can make every single possibility from -5.12 to 5.11 but only -80 to 400 actually works because of the hardcoded maximum.

This decreases (improves) your loading time massively and can help much better when you understand what happens.
 
Status
Not open for further replies.
Top