Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.Player.addSubClass()


      StringTokenizer st = new StringTokenizer(fullString);
      if (st.countTokens() > 1)
      {
        st.nextToken();
        int classId = Short.parseShort(st.nextToken());
        if (!player.addSubClass(classId, true, 0, 0, false, 0))
        {
          activeChar.sendMessage(new CustomMessage("lineage2.gameserver.model.instances.L2VillageMasterInstance.SubclassCouldNotBeAdded", activeChar));
          return false;
        }
        player.sendPacket(Msg.CONGRATULATIONS_YOU_HAVE_TRANSFERRED_TO_A_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.