Should of put this in configuration, theirs no need for a tutorial for this. lol
|
Code:package com.fusion.game.player.shortcuts; import com.fusion.game.WorldObject; import com.fusion.game.WorldTile; import com.fusion.game.player.Player; /** * * @author DikKutJoch || Fusion Development || Jul 29, 2014 * */ public class AncientCavern { /** * Handles all ladders/shortcuts in Ancient Cavern * @param player * @param object * @return */ public static boolean climbDown(Player player, WorldObject object) { switch (object.getId()) { case 25338: player.setNextWorldTile(new WorldTile(1772, 5366, 0)); return true; case 25336: player.setNextWorldTile(new WorldTile(1768, 5366, 1)); return true; case 25339: player.setNextWorldTile(new WorldTile(1778, 5343, 1))); return true; case 25340: player.setNextWorldTile(new WorldTile(1778, 5346, 0)); return true; case 25337: player.setNextWorldTile(new WorldTile(1744, 5321, 1)); return true; case 39468: player.setNextWorldTile(new WorldTile(1745, 5325, 0)); return true; THIS IS THE ANTILEECH :D , was bored lol } return false; } }
Should of put this in configuration, theirs no need for a tutorial for this. lol
Nice contribution.
This is just for lazy people, if people can't figure that anti-leech out they don't deserve to be coding RSPS.
Should save someone a minute or two.
Why is there an extra parentheses for case 25339? Might as well edit it.
shit.. i got errors.. plz help fix it?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |