• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Solved] Attack System

Status
Not open for further replies.
Level 10
Joined
Jun 20, 2017
Messages
333
I want two system with gui that tower each attack against enemy increases the reduces armour by 1, up to a maximum of 200. Effect is lost after not attacking for 5 seconds.

and for attack speed
Each attack against enemy increases the attack speed by 10%, up to a maximum of 200%. Effect is lost after not attacking for 5 seconds.
 
Last edited:
Level 39
Joined
Feb 27, 2007
Messages
5,016
First tower: I attack unit A 5 times, reducing its armor by 5. I then attack unit B 2 times and then stop altogether. When I stop, A has -5 armor but does B have -2 armor or -7 armor (does the counter up to 200 reset when I switch targets)? Do both debuffs expire at the same time 10s after I stop attacking B, or does A's debuff expire 10s after I stop attacking A, even if I'm still attacking B at that time?

Second tower: do you want a buff to appear on the tower's command card showing that it has increased its attack speed, or not?

For both towers you will need a Damage Detection System. I suggest Damage Engine 3.8.0.0 or GUI-Friendly Damage Detection v1.2.1 which you should learn to implement into your map now.
 
Status
Not open for further replies.
Top