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

Status
Not open for further replies.
Level 10
Joined
Jun 21, 2007
Messages
643
I think theres already an ability for this but heres the trigger for you :]
Maybe windwalk backstab damage?
If it doesn't work try this.

  • Events:
    • Generic Unit Event - a unit is attack
  • Conditions:
    • Integer Comaprison - Level of <next hit extra damage> fri (attacking unit) greater than 0
  • Actions:
    • If/then/else multiple
      • Conditions:
        • custom value of unit (attacking unit) = 1
          • --OR--
        • Unit has specific buff <buff added by casting spell>
      • Actions:
        • Unit - Damage Target (attacking unit) damage (attacked unit) <w/e extra damage>
        • //if you used a buff
        • Unit - Remove buff
        • //if you used custom values
        • Unit set custom value to 0
      • Else:
        • Do nothing
  • Events:
    • Generic Unit Event - Unit finishes casting an ability
  • Conditions:
    • (ability being cast) = to <extra damage on next attack>
  • Actions:
    • //if you're using buff
    • Unit - Add Buff <next attack extra damage buff> to (casting unit)
    • //if you're using custom values
    • Unit - Set custom Value of (casting unit) to 1
 
Level 5
Joined
Jan 8, 2008
Messages
135
my way:

you only need to change berserk for this:
(it shouldnt give any damage boosts)
  • attack damage
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) has buff berserk ) Equal to True
    • Actions
      • Unit - Remove berserk buff from Attacking unit
      • Unit - Cause Attacking unit to damage Attacked unit, dealing 100 damage of attack type Spells and damage type Normal
offtopic:
yay 100th post x3
 
Level 30
Joined
Dec 6, 2007
Messages
2,228
Hm i wont use Windwalk, it makes you invisible and thats not the effect i want :/
What i need, right Ghost765, is something like the enchant totem spell.

If i use
  • Unit - A unit Is attacked
the target will receive the additional damage as soon as the hero starts attacking, and the normal damage maybe 0.3 seconds later.

EDIT: Dadada-got it. Thanks to you all!
 
Status
Not open for further replies.
Top