Page 1 of 1

Percentage Logic

Posted: Sat Apr 10, 2010 3:37 pm
by dspain
ok after sleeping on it problem is fixed.

experience-=(experience * percent/100.0);

this allows me to take any value 'percent' and deduct it as a percentage from another value.

ill be redesigning the experience losses with sysop configurable values.