Package lineage2.gameserver.model.base

Examples of lineage2.gameserver.model.base.ClassType.ordinal()


    {
      race = classId.getRace();
    }
    if (_templates.containsKey(race.ordinal()))
    {
      if (_templates.get(race.ordinal()).containsKey(type.ordinal()))
      {
        return _templates.get(race.ordinal()).get(type.ordinal()).get(sex.ordinal());
      }
    }
    return null;
View Full Code Here


    }
    if (_templates.containsKey(race.ordinal()))
    {
      if (_templates.get(race.ordinal()).containsKey(type.ordinal()))
      {
        return _templates.get(race.ordinal()).get(type.ordinal()).get(sex.ordinal());
      }
    }
    return null;
  }
 
View Full Code Here

      charInfopackage.setExp(chardata.getLong("exp"));
      charInfopackage.setSp(chardata.getInt("sp"));
      charInfopackage.setClanId(chardata.getInt("clanid"));

      charInfopackage.setKarma(chardata.getInt("karma"));
      charInfopackage.setRace(race.ordinal());
      charInfopackage.setClassId(classid);
      charInfopackage.setBaseClassId(baseClassId[0]);
      long deletetime = chardata.getLong("deletetime");
      int deletedays = 0;
      if (Config.DELETE_DAYS > 0)
View Full Code Here

        availSubs1 = EnumSet.copyOf(MAIN_SUBCLASS_SET1);
        availSubs.removeAll(BANNED_SUBCLASSES);
        availSubs.remove(classId);
        availSubs1.removeAll(BANNED_SUBCLASSES);
        availSubs1.remove(classId);
        switch (race.ordinal())
        {
          case 1:
            availSubs.removeAll(getSet(Race.darkelf, ClassLevel.Third));
            break;
          case 2:
View Full Code Here

            break;
          case 2:
            availSubs.removeAll(getSet(Race.elf, ClassLevel.Third));
            break;
        }
        switch (race.ordinal())
        {
          case 1:
            availSubs1.removeAll(getSet(Race.darkelf, ClassLevel.Awaking));
            break;
          case 2:
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.