mob/var/maxhealth = 100
mob/var/health = 50
ok say the herb heals 50. so they use the herb and it heals 50.. say they used another and it boosts like at 150/100.Thats not right, how would i make it when you use a herb it boots the usr's health up by 20 and it never goes over the user's maxhealth.. and if they use it at usr.health = usr.maxhealth it says "You can't use that now,"
ID:178017
Jun 28 2002, 10:22 pm
|
|
That's an example, adapt it to your current system.