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

How to add buffs

Status
Not open for further replies.
You need to make an ability based off another ability that already has a buff, e.g. Trueshot Aura, Thorns Aura...
Then, you need to create a Spell Book - based ability, set Maximum spells to 1 and Minimum spells to 1 and Data - Spells list add your custom buff ability.
Finally, use this:
  • Trigger
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • For each (IntegerA) from 1 to 12, do (Actions)
      • Loop - Actions
        • Player - Disable Spellbook (custom) for (Player(IntegerA))
Whenever you want to add the buff, use
  • Unit - Add Spellbook (custom) to (Triggering unit)
It's the Unit - Add ability action.

Reference:
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/mysteries-spellbook-33039/
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
To achieve that, you would still need an ability, but without a dummy unit.

You should follow Pharaoh_'s method for doing it. I'll expand a little bit on what he meant.

"ability based off another ability that already has a buff" just really means an Aura ability.
In whichever ability you chose to be your Buff giver, set the targets to Self and the buff to whichever buff you want it to be. Modify the fields to your liking. Then give that ability to the unit. If you want some kind of SFX to be attached to your unit, edit the Art - Target fields in the ability itself instead of doing it in the buff.

If you don't want the ability's icon to appear in the unit's command interface, you'll need to use spellbooks which Pharaoh_ has outlined for you. Or you could just use Slow Aura (Tornado) for your base ability but keep in mind that the buff will be considered negative and have red text.
 
Status
Not open for further replies.
Top