Thread: Crystal Chest reward using BoxReward

Results 1 to 2 of 2
  1. #1 Crystal Chest reward using BoxReward 
    Trolling Zanix's Avatar
    Join Date
    Dec 2011
    Posts
    346
    Thanks given
    28
    Thanks received
    14
    Rep Power
    18
    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
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Banned
    Join Date
    Feb 2012
    Posts
    631
    Thanks given
    201
    Thanks received
    59
    Rep Power
    0
    Love you long time.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. crystal key chest dementhium
    By GomuGomuFruit in forum Help
    Replies: 10
    Last Post: 04-24-2012, 09:44 PM
  2. [PI] Crystal Chest
    By killerj012 in forum Snippets
    Replies: 6
    Last Post: 01-13-2012, 11:45 PM
  3. [pi]Fully working Crystal Chest
    By deadsoul in forum Tutorials
    Replies: 2
    Last Post: 01-04-2011, 06:17 PM
  4. Crystal chest V2
    By Volcom in forum Tutorials
    Replies: 18
    Last Post: 12-11-2007, 12:54 AM
  5. fully working crystal chest!
    By Volcom in forum Tutorials
    Replies: 32
    Last Post: 09-11-2007, 01:58 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •