HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Requirements

09-25-2007, 11:28 PM#1
Black Mamba1
Hello,
How do you make a spell that needs a requirement?
Example:
If A Unit casts Blizzard and it wont work because he has to cast Ice Essence first.
09-26-2007, 12:04 AM#2
Anopob
You can remove the spell and add it back again once he casts Ice Essence, or you can try to make it so when Ice Essence is casted upgrade something to level 1, and Blizzard = level 0. I think that might work.
09-26-2007, 12:07 AM#3
vesuvan doppleganger
Make "ice essence" a self buff, and use a buff check whenever the unit attempts to cast blizzard.
09-26-2007, 12:51 AM#4
Rising_Dusk
You could also use the object editor part of the ability that says "Techtree Requirements." Consider that maybe you make the owner of that unit in general not have some dummy unit called "Ice Essence Buff." Now make your other spell require the unit "Ice Essence Buff" and make that unit for the casting player whenever they cast "Ice Essence" and then remove it when it ends.

Now you have a pretty sweet looking method to make requirements without some pause/stop/unpause ugliness in the mix.
09-27-2007, 12:01 AM#5
Black Mamba1
thx people