| 12-04-2006, 12:36 AM | #1 |
How can I make it to where one spell requires another to be active. For example, To use Storm Bolt the unit must be actively Wind Walked or Invisable. Thanks, ~Valdez |
| 12-04-2006, 12:51 AM | #2 |
Here is a simple way to activate a spell if a unit has another spell learned. If that's what you're asking. Make a new trigger called Disable Storm Bolt, this will disable the use of storm bolt for all players. Trigger: Then make another trigger that enables the use of storm bolt if the player has learned Avatar, or whatever you want. |
| 12-04-2006, 01:39 AM | #3 |
The "best" way although not truly multi instanceable is to use unit requirements, then have a dummy, invisible unit called "Active windwalk" and create that unit for the player when windwalk starts/ remove when it ends. Make that unit the requirement for storm bolt, the advantage is that the button UI will show it as requirement and disable the icon and all that kind of nice stuff. The second best way which can be multi instanceable is to have 2 versions of storm bolt one which is actually a passive ability which does nothing and another which is the real one and replace between them when appropiate, the issue with this method is that cooldown gets reset |
| 12-04-2006, 03:01 AM | #4 | |
Quote:
I never thought about the first one, I learn something new every day :P |
| 12-04-2006, 04:07 PM | #5 |
Thanks guys. :) |
