• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Spell Help

Not open for further replies.
Level 4
Jul 25, 2007
Are you wanting it to just get money? or actually steal from another player? I'll show you both if you give me a moment.

actually this turned out a bit easier then i thought,

this trigger should do it just replace acid bomb with the spell you want to make steal gold.

  • Untitled Trigger 001
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Acid Bomb
    • Actions
      • Player - Set (Owner of (Casting unit)) Current gold to (((Owner of (Casting unit)) Current gold) + ((Hero level of (Casting unit)) x 10))
      • Player - Set (Owner of (Target unit of ability being cast)) Current gold to (((Owner of (Target unit of ability being cast)) Current gold) - ((Hero level of (Casting unit)) x 10))
      • Floating Text - Create floating text that reads (String(((Hero level of (Casting unit)) x 10))) above (Target unit of ability being cast) with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Disable permanence
      • Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
      • Floating Text - Show (Last created floating text) for (All players)
Not open for further replies.