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

[Spell] Stacking Buff

Status
Not open for further replies.
Level 1
Joined
May 5, 2012
Messages
4
Hello folks.

I got a question. If i wanted to do a passive spell that would do this:

"Upon attacking enemies, gain a Stack of Thousand Cuts. Deal 1% more damage per stack. Stacks up to 2 x (skill level) times"

how would i start?

Thanks in advance for the help.

:ogre_hurrhurr:
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
After that, you need a system that can attach data to a buff... or attach a buff to its data.
In standard WC3, buffs are a big pain.
You cannot add different buffs to a unit if the spell used to give the buff is based on the same ability.
You cannot add buffs via triggers without an ability.
And aura buffs are not removed by dispells.

Imo, that third one isnt a big deal.
I have a system that can attach data to a buff (aka the level and the source) but it is really heavy as it tracks the buff for any changes.
A better approach would be to code all buffs via one system and let only that system control the buffs... but that is pretty much an overkill for you.
 
Status
Not open for further replies.
Top