Skills in Shop

Status
Not open for further replies.
Dude i dont know how do thank you :roll:
awsome map btw :P



Edited :

Eheh :P i got all my skills in the shop but i got a new problem :P lets say i buy "Healing" skill for my hero , what happens when i buy it again ? does the level go bigger :O?

if the level goes bigger then its ok :P but if doesnt what should i need to do :wink:
 
It doesen't.
You should do something like
"If
level of ability(bought ability) for triggering unit is equal to 0
then
add (bought ability) to triggering unit
else
if
level of (bought abliity) for triggering unit is smaler then (max level of bought ability)
then
increase level of ( bought ability) for triggering unit
else
-give gold back & write an error message-
 
Status
Not open for further replies.
Back
Top