Examples of SubClassType


Examples of lineage2.gameserver.model.base.SubClassType

   * @return int[]
   */
  public int[] getAvailableDualClasses(Player player, int classId)
  {
    TIntArrayList dualClassesList = _dualClasses.get(classId);
    SubClassType haveDouble = null;
    for(SubClass sc : player.getSubClassList().values())
    {
      if(sc.isDouble())
      {
        haveDouble = sc.getType();
View Full Code Here

Examples of lineage2.gameserver.model.base.SubClassType

    double mp = 0;
    double cp = 0;
    long exp = Experience.getExpForLevel(level);
    int sp = 0;
    boolean active = true;
    SubClassType type = SubClassType.BASE_CLASS;
    if (!CharacterSubclassDAO.getInstance().insert(player.getObjectId(), classId, classId, exp, sp, hp, mp, cp, hp, mp, cp, level, active, type, null, 0, 0))
    {
      return null;
    }
    return player;
View Full Code Here

Examples of lineage2.gameserver.model.base.SubClassType

   * @return boolean
   */
  public boolean addSubClass(final int classId, boolean storeOld, int certification, int dual_certification, boolean isDual, int index)
  {
    final SubClass newClass = new SubClass();
    SubClassType type = SubClassType.SUBCLASS;
    int level = 40;
    if(isDual)
    {
      type = SubClassType.DOUBLE_SUBCLASS;
      level = 85;
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.