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

How to remove/add a spell with its level staying intact?

Status
Not open for further replies.
Latent heat give the most applicable solution.
In AOS or Arena maps, it's possible to use disable abilities as only one hero present. But sometimes it's not applicable, which means the second trick is the best way around.
The variable should be different for each caster, if there are multiple levels and multiple heroes uses the spell, as it might return wrong level when restored.
 
Status
Not open for further replies.
Top