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

[Trigger] Give Mana to specific unit

Status
Not open for further replies.
Level 1
Joined
Jan 25, 2009
Messages
1
I have been trying to make a trigger that will give a certain amount of mana to a specific unit when an enemy unit is killed.

Any tips ^^?
 
Level 9
Joined
Apr 3, 2008
Messages
700
Generic unit event.
Unit comparison.
Unit - Set mana.

  • Trigger
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Killing unit) Equal to Paladin 0000 <gen>
    • Actions
      • Unit - Set mana of (Killing unit) to ((Mana of (Killing unit)) + 1.00)
 
Status
Not open for further replies.
Top