Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Player.addSubClass()


      StringTokenizer st = new StringTokenizer(fullString);
      if(st.countTokens() > 1)
      {
        st.nextToken();
        short classId = Short.parseShort(st.nextToken());
        if(!player.addSubClass(classId, true))
        {
          activeChar.sendMessage(new CustomMessage("l2p.gameserver.model.instances.L2VillageMasterInstance.SubclassCouldNotBeAdded", activeChar));
          return false;
        }
        player.sendPacket(Msg.CONGRATULATIONS_YOU_HAVE_TRANSFERRED_TO_A_NEW_CLASS); // Transfer to new class.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.