Jump to content
  • 0

Subclass


Benitoz

Question

3 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...