Edited : Eheh i got all my skills in the shop but i got a new problem 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 but if doesnt what should i need to do
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-
I am using it meself in a little different way. ( " a Unit gets an Item" as Event and checking a whole bunch of conditions. I think about 14 different ones ^^ )
if it doesn't he should fiew my "RPG-Engine and AOS-Sample"-Posting, download the map and fiew my triggers he may copy em if he wants to... i don't bother ( only if some of the more complex triggers are copied plz gimme credits )