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

Trigger Help

Status
Not open for further replies.
Level 4
Joined
Nov 28, 2007
Messages
107
I will try to do it and give it to you.

Cant do it my self. (because of little knowledge of variables)

but u can try

EVENTs
Unit casts ability
CONDITIONs
Ability equals "MANA BURN (level)"
ACTIONs
Damage TARGET (so you set it that mana burn just burns mana and you damage with 1-3 triggers depending on how many levels your ability has)
Then you save the damage done in a variable (variable name= DamageDONE)
You make a random thing if value = 1 then do not heal value =2 then do not heal if value = 3 then heal percent of DamageDONE to casting unit.

Something like that should work but I can't really seem to do anything with integers/variables.

EDIT: Will still try to send you a working version of what you want just reading up on stuff.
 
Last edited:
Level 4
Joined
Nov 28, 2007
Messages
107
There you GO

OK I have finished it.

Hope you understand it all.
 

Attachments

  • Test-Manaburn.w3x
    17.5 KB · Views: 65
Last edited:
Status
Not open for further replies.
Top