• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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