• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Two questions about "bash"

Status
Not open for further replies.
Level 12
Joined
Oct 28, 2019
Messages
481
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 65
Joined
Aug 10, 2018
Messages
6,657
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
481
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 65
Joined
Aug 10, 2018
Messages
6,657
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