View Single Post
  #5  
Old 03-28-2001, 12:50 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
NPC Code:

if(carrying&&keydown(5)){
if(carriesstone){
takeplayercarry;
setstring health,#v(strtofloat(#s(health))+10);
}else if(carriesblackstone){
takeplayercarry;
setstring health,#v(strtofloat(#s(health))+20);
}
}


That in the timeout or whatever loop should take care of the healing aspect...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote