Can someone give me a very simple Training Verb or something? I need it for my new DBZ Game which is not a Zeta Rip which is why I need a Training Verb or something.. Thanks!
SPECIAL
Game Name: Dragonball Z -The Unknown Dragon-
ID:176848
Dec 3 2002, 8:20 am
|
|
In response to Muska
|
|
mob
var Training = 0 StopTraining = 0 mob verb Train() if(usr.Training == 1) usr.StopTraining = 1 usr << "You have stoped training" if(usr.Training == 0) usr << "You have started training" usr.Training = 1 StartTraining(usr) mob proc StartTraining() spawn while(1) if(usr.StopTraining == 1) usr.StopTraining = 0 break sleep(50) usr.maxpl += 10 this keeps going and going until you press Train again... the maxpl should be what you want to go up while training |
Oh and have a variable called train
Train()
if(train == 0)
usr << "You train hard!"
usr.maxpl += 5
usr.train += 1
sleep(50)
usr.train -= 1
else
usr << "You cannot do this right now"
Thats pretty simple, and it stops them from gaining too much too fast.
Need any more help just send an email to [email protected]
or look for my key, Muska
:)