ID:178646
 
I made a mushroom that I want to heal the player's character, but I don't know how to add HP to the character!

Here's what I have:

obj
mushroom
verb
eatMushroom()
usr << "WHOOOOAAA the colors MAAN!"
usr << "You gain 5 HP!"
del src
(here is where I need to add the 5 HP but I don't know how to do it.)
Likwiddraino000 wrote:
I made a mushroom that I want to heal the player's character, but I don't know how to add HP to the character!

Here's what I have:

obj
mushroom
verb
eatMushroom()
usr << "WHOOOOAAA the colors MAAN!"
usr << "You gain 5 HP!"
del src
(here is where I need to add the 5 HP but I don't know how to do it.)


Before the 'del src' line add usr.HP += 5
In response to Nadrew
:)