Percentage Logic
Posted: Sat Apr 10, 2010 3:37 pm
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.
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.