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

[Spell] Buffs and Effects Help.

Status
Not open for further replies.
Level 1
Joined
Jul 31, 2010
Messages
1
I am trying to create custom hero abilities. In my creating I had an idea. This idea is to create a buff or effect that would increase my hero's strength for a set duration of time. Any advice on how to do this would be helpful.
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
I'm guessing you mean strength; the hero's attribute?

You will need to create a trigger. It will give 5 x level of the unit strength. So level 1 gives 5 strength. Level 2 gives 10 strength and so on. You can change this of course. And you can change how low it lasts (with the wait).

You can base this spell off something like "Roar".

  • Hero Strength
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Hero Strength
    • Actions
      • Hero - Modify Strength of (Triggering unit): Add (5 x (Level of Hero Strength for (Triggering unit)))
      • Wait 20.00 seconds
      • Hero - Modify Strength of (Triggering unit): Subtract (5 x (Level of Hero Strength for (Triggering unit)))
Here you go, and it is MUI.
 
Status
Not open for further replies.
Top