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

Minus Armorer

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,614
Hey there.

I have a problem and I would like you to help me with it. I'm making an item that decreases armor of the enemy unit the wielder hits. Every attack decreases 2 armor for the next 10 second. The ability can stack.

I tried to do the ability but it seems like I don't know how to do it. I have start, could you please finish the ability? Rep and credits will be given. The ability doesn't need to be MUI and make it leakless + lagless.

Ask questions if needed.
 

Attachments

  • Minus Armorer.w3x
    17 KB · Views: 40
Level 37
Joined
Mar 6, 2006
Messages
9,243
Here's one way to do it:

http://www.hiveworkshop.com/forums/pastebin.php?id=yx17uh

Every level lasts 5 seconds. After that the level of the ability decreases and another 5 second timer starts unless the level is one, then it gets removed.

So level 10 buff would take 50 seconds to vanish, and the level decreases every 5 seconds assuming the unit is not hit anymore.

Didn't want to make this thing with buffs, since those can be stolen.
 
Level 22
Joined
Nov 14, 2008
Messages
3,256
Hmm, I see you are using somekind of new trigger. However, is there another way to make this? I don't want any periodic events and hashtables because I don't understand them at the moment.

Thanks for the help anyway, +rep.

so you are back from the army eh?

well hashtables isnt really hard to understand and they stack infinitly :)
 
Level 37
Joined
Aug 14, 2006
Messages
7,614
baassee said:
so you are back from the army eh?
No I'm not but I have so much freetime here I started to do the campaign once again. 58% finished! 114 days left.

baassee said:
well hashtables isnt really hard to understand and they stack infinitly :)
Aha? X_x

Beast(TrOg) said:
impossible.
Well okay then, periodic events are allowed.

Beast(TrOg) said:
Sure. But I'll be doing it differently...coming up:
Okay, I'm waiting.
 
Status
Not open for further replies.
Top