Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Teleportation Class
- * @author Aotearoa
- * Handles teleporting for players
- ***/
- public class Teleportation {
- public int airId = 1,
- fireId = 1,
- waterId = 1,
- earthId = 1
- bodyId = 1,
- mindId = 1,
- lawId = 1;
- public void triggerTele2(int location, int height) {
- if (System.currentTimeMillis() - lastAction > 5000) {
- lastAction = System.currentTimeMillis();
- resetWalkingQueue();
- if(location == 1){ //Varrock
- if(playerHasItem(airId, 123){
- c.tX = 1234;
- c.tY = 5678;
- c.heightLevel = height;
- }
- if (location == 2){ //Lumbridge
- c.tX = 1234;
- c.tY = 5678;
- c.heightLevel = height;
- }
- followID = 0;
- followID2 = 0;
- ResetAttack();
- ResetAttackNPC();
- }
- }
- }
Add Comment
Please, Sign In to add comment