The Dink Network

Reply to Re: New File: Percentage Based Potions

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 21st 2010, 12:03 AM
anon.gif
Random
Ghost They/Them
 
I would like to report a bug. Every time I use any of the potions, I am healed completely. That is because of the missing "&" before "lifemax" (this is present in item-he1.c, item-he2.c, item-he3.c):
			if (&life > lifemax)
			{
			&life = &lifemax;
			}

while the correct code would be:
			if (&life > &lifemax)
			{
			&life = &lifemax;
			}

If you apply this change, potions will work as they should.