Loading...   


sub EVENT_LEVEL_UP{
	DumpPlayerCache(); #::: Dump Player Info into Cache
	$connect = plugin::LoadMysql();
	for($i = 0; $i <= 250; $i+=50){ if($ulevel == $i){ quest::we(15, "Welcome $name to level $ulevel!"); } }
	if($ulevel == 201){ quest::we(15, "Welcome $name to level $ulevel!"); }
	
	#::: Level up Message
	plugin::MM("[LEVEL UP] You have gained a Level! ($ulevel)");
	#::: Scribe Spells on Level-Up
	for($i=0;$i<=85;$i+=5){
		if($ulevel == $i){
			quest::traindiscs($i + 5, $i);
			quest::scribespells($i + 5, $i);
			plugin::MM("[LEVEL UP] You have new abilities!");
		}
	}
}

Raw Paste Data