• 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.

[Solved] Devour Magic

Level 14
Joined
Jan 24, 2017
Messages
280
I want to use Devour Magic to remove all buffs/debuffs and give the caster mana for each unit that had buffs/debuffs removed. But it does not seem to work with a lot of my custom ability buffs. Is there anything in the configuration that can tweak that, or would I need to trigger that?
 
Level 30
Joined
Aug 29, 2012
Messages
1,383
I think it either depends on the spell that served as base for your custom ability or the buff itself, e.g. stuff based on melee WC3 abilities like inner fire, curse etc should be devourable with no problem, but devour magic itself has no field to alter that sadly
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,875
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
 
Top