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

[General] How to make a spell stealing spell?

Status
Not open for further replies.
Level 11
Joined
Oct 11, 2012
Messages
711
Basically you need a Hashtable for this, it's more efficient in terms of accessing the spell from the unit.
Thanks for the information
There are already such spells in the spell sector
Such as : THIS with vJass
or THIS with GUI.

It's happy to be able to help BUT i hope you'll trust the SEARCH tool before posting it the next time. Have fun

Do these spells only steal default Warcraft spells?
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
as well, because trigger only enchances the effects, but the Unit Starts the effect of an ability trigger event fires when your mana is drain upon cast(technically, when cooldown starts because not all spells cost mana) so yes, everything that is not banned by the system the spell uses or is not passive ability will be stealable
 
Level 11
Joined
Oct 11, 2012
Messages
711
as well, because trigger only enchances the effects, but the Unit Starts the effect of an ability trigger event fires when your mana is drain upon cast(technically, when cooldown starts because not all spells cost mana) so yes, everything that is not banned by the system the spell uses or is not passive ability will be stealable

Thanks a lot. Good to know that.
 
Status
Not open for further replies.
Top