• 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.

Skills in Shop

Status
Not open for further replies.
Level 3
Joined
Apr 27, 2005
Messages
45
Hey :)
I wana but skills in shop and so hero can buy them :wink: how could i do that ? :)
are there any triggers involved? :p
 
Level 3
Joined
Apr 27, 2005
Messages
45
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:
 
Level 6
Joined
Feb 18, 2005
Messages
263
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.
Top