Skip to content

Subclass

Featured Replies

Hello where can set only 1 subclass  when not in config file.thx

Solved by xAddytzu

  • Solution

Hello where can set only 1 subclass  when not in config file.thx

l2pcintance

	public boolean addSubClass(int classId, int classIndex)
	{
		if (!_subclassLock.tryLock())
			return false;
		
		if (EventManager.getInstance().players.contains(this))
			return false;
		
		try
		{
			if (getTotalSubClasses() == 3 || classIndex == 0)
				return false;
			


L2VillageMasterInstance

					// Avoid giving player an option to add a new sub class, if they have three already.
					if (player.getTotalSubClasses() >= 3)

Edited by xAddytzu

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.