Thread: Enchanted Lyre / Explorer ring

Results 1 to 2 of 2
  1. #1 Enchanted Lyre / Explorer ring 
    Registered Member PhaseGFX's Avatar
    Join Date
    Oct 2012
    Age
    24
    Posts
    155
    Thanks given
    19
    Thanks received
    40
    Rep Power
    51
    Clean-up and releasing time!

    R-S Mod Response   Enchanted Lyre

    Enchanted lyre, correct anims + gfx. (still have to add recharge function)



    Spoiler for code:


    handleItemOption1:

    Code:
    		// enchanted lyre
    		if (itemId == 3691) {
    			WorldTasksManager.schedule(new WorldTask() {
    				int ticks = 0;
    				@Override
    				public void run() {
    					ticks++;
    					if (ticks == 1) {
    						  player.setNextGraphics(new Graphics(1682));
    						player.setNextAnimation(new Animation(1320));
    					} else if (ticks == 2) {
    						FadingScreen.fade(player, new Runnable() {
    						    @Override
    						    public void run() {
    						    	 player.setNextWorldTile(new WorldTile(2626, 3599, 0));
    						    }
    						});
    					} else if (ticks == 3) {
    						 player.getInventory().deleteItem(3691, 1);
    			    	 player.getInventory().addItem(3690, 1);
    			}}	
    	}, 0, 1);
        }





    R-S Mod Response   Explorer ring

    explorer ring function, anims + gfx.



    Spoiler for code:


    handleItemOption1:

    Code:
    	//explorer ring 1
    		if (itemId == 13560) {
    			if (player.explorerRing1 > 1)  {	 
    				player.getPackets().sendGameMessage("It seems you already used your charge, try again later.");
    				return;
    			}
    				if (player.getRunEnergy() < 50) {
    				player.setNextAnimation(new Animation(9988));
    			 player.setNextGraphics(new Graphics(1733));
    			player.setRunEnergy(player.getRunEnergy() + 50);
    			player.explorerRing1 = 32400000; //9h
    			}
    		
    	
    	}

    Player.java:

    Code:
    public long explorerRing1;



    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Developer


    Join Date
    Aug 2012
    Age
    22
    Posts
    2,467
    Thanks given
    167
    Thanks received
    1,553
    Rep Power
    2089
    thnx will use
    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. Enchanted Lyre
    By Mikee in forum Requests
    Replies: 0
    Last Post: 08-07-2014, 05:52 PM
  2. Enchant ring emote.
    By Abyssal Noob in forum Requests
    Replies: 0
    Last Post: 10-10-2009, 07:18 AM
  3. An animation(Enchanting Ring)
    By Dexter Morgan in forum Requests
    Replies: 0
    Last Post: 09-14-2009, 10:40 AM
  4. Explorer Ring
    By Jon in forum Models
    Replies: 3
    Last Post: 04-17-2009, 01:37 AM
  5. Replies: 12
    Last Post: 05-06-2008, 11:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •