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

About another spell

Status
Not open for further replies.
Level 6
Joined
Sep 13, 2013
Messages
155
Im making a simple spell. But it's not working.

Reverse Sanity
Description: Steals 200 experience from all enemy heroes in the map and gives 200 bonus experience to all allied heroes.

I tried to create it in a simple trigger with simple functions and it didn't work.
the second attempt i did was that I made two triggers, with a dummy spell, to steal the 200 experience, and it didn't work. This came into my mind that maybe some values like experience can't be subtracted (Oh_ou). Is it possible to subtract experience ?
 
Status
Not open for further replies.
Top