• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Devour Magic

Status
Not open for further replies.
Would it be possible to check for the amount of buffs and then do remove all buffs and then check for the amount of buffs again and if there is a difference the caster gets mana?
Why not check the list of Conditions and see if such a thing exists? The number of buffs, if such a Condition exists, would likely be an Integer comparison.

Then search for "buff" in the Actions menu and see if there's such a thing as "remove all buffs".

You can track the number in an Integer variable if need be.
 
Would it be possible to check for the amount of buffs and then do remove all buffs and then check for the amount of buffs again and if there is a difference the caster gets mana?
it is certainly possible but you need to make a list of the buffs that youre trying to remove and then count the number of buffs removed

1729276998438.png

i did it in one of my spell submissions. Ignite
 
Status
Not open for further replies.
Back
Top