Thread: Augmentor Quest
View Single Post
  #1  
Old 03-14-2014, 01:28 AM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

You may use $client->SummonItem(), it has the following paramaters: item_id, charges, attune, aug1, aug2, aug3, aug4, aug5

I use this for some storage code I wrote that allows you to store items with augments and withdraw them.

Here's an example. Although, you could just use $item1, $item2, $item3, and $item4 if you want them to be able to put anything in anything.
Code:
sub EVENT_ITEM
{
	if(plugin::check_handin(\%itemcount, 1001 => 1, 1002 => 1))
	{
		$client->SummonItem(1001, 1, 0, 1002);
	}
}
Reply With Quote