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

[Solved] How to do with Wind Walk custom dmg?

Status
Not open for further replies.
Level 17
Joined
Nov 13, 2006
Messages
1,814
How to do with Wind Walk custom dmg?

u mean 1st hit when u break the wind walk?

simple:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Wind Walk) Equal to True
    • Actions
      • Unit - Cause (Attacking unit) to damage (Attacked unit), dealing 500.00 damage of attack type Spells and damage type Normal
u also could make stun/crit... this applied to 1st hit when u break ur wind walk with attack
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
u mean 1st hit when u break the wind walk?

Yes, yes and yes.

Actually I just tested your way. I was first thinking would this be so easy... But no. You can abuse this by attacking and moving away same time(deals damage but won't come off from the invisiblity).

Also the critical damage red floating text says 0 which looks a bit stupid.

So case is not yet solved. :<

I attached a test map to the original post.
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
Um... im pretty sure you can change the damage done when you break wind walk, in object editor. No triggers*** needed.
Yeah, I know that. I'm not that moron I don't know how to change Wind Walk's damage in object editor. :D

And besides I especially want custom damage because the damage will be based on hero's stats and all that shit.

Okay so my friend helped me a bit and now everything works. Here's the code for the ones who may need help with this in the future.

  • WW Critical
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff Wind Walk) Equal to True
      • (Damage taken) Greater than 0.00
      • ((Attacked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to False
    • Actions
      • Unit - Cause (Attacking unit) to damage (Attacked unit), dealing 500.00 damage of attack type Normal and damage type Normal
      • Unit - Remove Wind Walk buff from (Attacking unit)
Thread can be closed.
 
Status
Not open for further replies.
Top