Jump to content
  • 0
Sign in to follow this  
B A T

Shards of armadyl combine option

Question

Hi everyone,

I was wondering if anyone could help me with the combine option when you click on shards of armadyl, if you have 100 of them it should turn into an orb of armadyl. But it doesnt work on my server yet.
So... Does somebody know where to find this, or could anyone help me with this problem?
Ive been searching for hours, but couldnt find anything ;)

Thanks,
B A T

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Place this in your inventoryoptionshandler


[CODE]if (itemId == 21776) {
if (player.getInventory().containsItem(21776, 100)) { // checks inventory for 100 shards of armadyl
player.getInventory().deleteItem(21776, 100); // deletes if there is 100
player.getInventory().addItem(21777, 1); // adds armadyl battlestaff, you can change this id to orb of armadyl
player.getPackets().sendGameMessage("You create an Armadyl battlestaff"); //message sent when created
return;
}
else {
player.getPackets().sendGameMessage("You need 100 shards of armadyl to make a battlestaff!"); //if you dont have 100 shards of armadyl
}
}[/CODE]

Share this post


Link to post
Share on other sites
Sign in to follow this  

×