First do this tutorial
[Only registered and activated users can see links. ]
Open up UseItem.java
Under
public static void ItemonItem
Add this
Code:
if ((itemUsed == 985 || useWith == 987) || (itemUsed == 987 || useWith == 985))
c.getItems().addItem(989,1);
c.getItems().deleteItem(985, 1);
c.getItems().deleteItem(987, 1);
Then find
public static void ItemonObject
And under the switch statement add this
Code:
case 172:
if(itemId == 989) {
c.getItems().deleteItem(989, 1);
c.startAnimation(881);
c.getBoxReward().handleRndBoxReward();
}
break;
Just something I quickly added to my server which I thought would be cool
rate/hate/flame idc