switch(getPlayerFaction()) { case 1: num = Rnd.get(aid+1,aid+5); case 2: num = Rnd.get(aid+6,aid+10); } s = TeleportLocationTable.getInstance().getTemplate(); if(s != null) loc = new Location(s.getLocX(), s.getLocY(), s.getLocZ()); else // have default safty location