• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

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