View Single Post
  #3  
Old 10-17-2008, 09:00 AM
spoon
Sarnak
 
Join Date: Aug 2007
Posts: 34
Default

Some times you'll see something like
Code:
if( ($mlevel * 3) >= $ulevel ) {
	quest::say("Mob is OVER 1/3 of the user level");
} else {
	quest::say("Mob is UNDER 1/3 of the user level");
}
which is mathematically equivalent but is processed on the integer side of the CPU which is significantly faster.
Reply With Quote