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

Two questions about "bash"

Status
Not open for further replies.
Level 12
Joined
Oct 28, 2019
Messages
475
An archer has missile splash damage, this can cause miss target if it micro. But the archer has 100% bash chance to stun about 0.5 sec. How can the bash can be casted only if hit the target and not every shot?

Other question, a zombie has 100% bash for 5 sec. How aply cold effect in unit that receive the bash. Note: An footman has chance to block the zombie hit, and it is not bashed
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,561
Trigger it using a Damage Event / Damage Engine. You can't really control this sort of thing outside of triggers.

On Damage taken -> Create Dummy unit, Add Storm Bolt to it, Order it to Stun the the damaged unit

You can use the same method for the Zombie except use Frost Nova for the Cold effect.
 
Level 12
Joined
Oct 28, 2019
Messages
475
1667437337006.png

I´ve used this and worked, IDK how do the damage event, its a real variable? Need only to choose name??
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,561
The Damage Event? You're using the correct one.

Bribe's Damage Engine uses Reals for the Event but that's because it's a custom system that was created before the GUI Event existed.

If you mean the Action to adjust the Damage dealt it's called "Set Damage Event Amount" or something along those lines, you can use Search For Text to find it.
 
Status
Not open for further replies.
Top