Hi all,
I'm adding some abilities to one of my custom items, but apparently there are some problems that can affect gameplay.
It is suppose to be an ultra-powerful permanent item that can be used actively, and gives the owner +1000 HP (using Khadgar's Gem of Health ability), +100 Strength (using Belt of Giant Strength +6 ability) and boost health regeneration by 24 points (using Ring of Regeneration ability), all these being passive abilities.
It has one further active ability, which is a mass rejuvenation and heals all nearby friendly units for a large amount of HP in a short time using the rejuvenation spell (via triggers and dummies). This ability requires a certain amount of mana (250) and has a cooldown of 20 seconds.
Everything works fine, except one point: The item does not indicate the mana cost (where normally there should be mana cost + gold cost of item just below its name), nor its cooldown (even after the item is used). (Clicking it during this period gives the message "Spell is not ready yet.", which obviously means it has just been used, but the icon does not turn grey with a line sweeping out brighter areas over time.) However, all abilities are functional, including the mass rejuvenation spell itself.
Can anyone figure out what the problem is? Thanks a lot!
_Phoenix_
I'm adding some abilities to one of my custom items, but apparently there are some problems that can affect gameplay.
It is suppose to be an ultra-powerful permanent item that can be used actively, and gives the owner +1000 HP (using Khadgar's Gem of Health ability), +100 Strength (using Belt of Giant Strength +6 ability) and boost health regeneration by 24 points (using Ring of Regeneration ability), all these being passive abilities.
It has one further active ability, which is a mass rejuvenation and heals all nearby friendly units for a large amount of HP in a short time using the rejuvenation spell (via triggers and dummies). This ability requires a certain amount of mana (250) and has a cooldown of 20 seconds.
Everything works fine, except one point: The item does not indicate the mana cost (where normally there should be mana cost + gold cost of item just below its name), nor its cooldown (even after the item is used). (Clicking it during this period gives the message "Spell is not ready yet.", which obviously means it has just been used, but the icon does not turn grey with a line sweeping out brighter areas over time.) However, all abilities are functional, including the mass rejuvenation spell itself.
Can anyone figure out what the problem is? Thanks a lot!
_Phoenix_