Deref. does not give the id for CastSpell(spell_id, target_id)  
 
$npc->CastSpell(spellid, $hate_target->GetID()) 
 
The member function for setting level on a specific PTR_OBJ is SetLevel() 
 
$client->SetLevel(1, 0); 
 
You can use  
$hate_target->GetName() to actually have it say which target is the target by name instead of cryptic pointers 
		
	
		
		
		
		
		
		
		
		
		
	
		
		
	
	
	 |