- Joined
- Aug 15, 2007
- Messages
- 37
I'm looking for some suggestions on the best way to implement this autocasting spell I would like to make.
The spell will be called Regenerate_Mana, and it will be used by a Mana Well, which is a structure that stores mana of a certain type (white,black,red,etc) for a player. When a player uses a spell or anything that costs mana, it will be taken from the Mana Well.
Here are the properties of the spell:
1)When manaually cast, it will auto-target itself, increase its mana by 1, and decrease players gold by 1.
2)When autocast (rclicked), it will continually cast until the player has no gold, or the spell is rclicked again. (cooldown = 20 secs)
3)If a player has no gold, it disables the ability.
4)If the wells mana is at max, it disables the ability.
Other things will take place as well, but that is the basics.
What type of unit would you base the Mana Well off of? What spell would you use as the base?
Or just any suggestions as how to approach this.
Thanks.
The spell will be called Regenerate_Mana, and it will be used by a Mana Well, which is a structure that stores mana of a certain type (white,black,red,etc) for a player. When a player uses a spell or anything that costs mana, it will be taken from the Mana Well.
Here are the properties of the spell:
1)When manaually cast, it will auto-target itself, increase its mana by 1, and decrease players gold by 1.
2)When autocast (rclicked), it will continually cast until the player has no gold, or the spell is rclicked again. (cooldown = 20 secs)
3)If a player has no gold, it disables the ability.
4)If the wells mana is at max, it disables the ability.
Other things will take place as well, but that is the basics.
What type of unit would you base the Mana Well off of? What spell would you use as the base?
Or just any suggestions as how to approach this.
Thanks.