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

[Spell] One hit spell

Status
Not open for further replies.
Level 4
Joined
Jan 2, 2015
Messages
41
One hit spell - Solved

I will try to explain as best as I can.

When you activate spell you gain buff but no other actions occurs. When you inflict damage (only one hit) spell activates and you deal extra damage and buff is removed.

I tried with spell book and passive bash ability. But it does not work. What happens is that effect goes on (Hero constantly deals damage), I could not remove it.

I will be glad if someone explains me how to do it.
 
Last edited:
Level 16
Joined
Mar 27, 2011
Messages
1,349
This demo is based off the Roar ability and it's buff.

  • Attack Someone
    • Events
      • Game - DamageEvent becomes Equal to 1.00
    • Conditions
      • (DamageEventSource has buff Roar) Equal to True
    • Actions
      • Unit - Cause DamageEventSource to damage DamageEventTarget, dealing 100.00 damage of attack type Spells and damage type Normal
      • Unit - Remove Roar buff from DamageEventSource
You need Bribe's damage detection system.
 
Status
Not open for further replies.
Top