View Single Post
  #2  
Old 08-31-2010, 07:22 AM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default

After a few days of work I figured this out so here is a script if anyone else wants to do this.

Code:
sub EVENT_SCALE_CALC {

	my $itemscale = 1;

	#check all slots for items
  if(plugin::check_hasitem($client, 76094)) {
	 $itemscale = $itemscale + 2;
  }

  if(plugin::check_hasitem($client, 2393)) {
	 $itemscale = $itemscale + 2;
  }
 
  if(plugin::check_hasitem($client, 2421)) {
	 $itemscale = $itemscale + 2;
  }
  
	$questitem->SetScale($itemscale);

}
Reply With Quote