Jump to content
  • 0

[HELP]Ligi Voi8eia Magkes


Question

3 answers to this question

Recommended Posts

  • 0
Posted

Αν ξες να περνάς Java πέρνα τα παρακάτο !!!

 

Go to:

com.l2jfrozen.gameserver.model.actor.instance.L2VillageMasterInstance.java 

 

Find this and change:

- final PlayerRace npcRace = getVillageMasterRace();
- final ClassType npcTeachType = getVillageMasterTeachType();
+ getVillageMasterRace();
+ getVillageMasterTeachType();

 

Next remove this:

-if(npcRace == PlayerRace.Human || npcRace == PlayerRace.LightElf)
-				{
-					// If the master is human or light elf, ensure that fighter-type
-					// masters only teach fighter classes, and priest-type masters
-					// only teach priest classes etc.
-					if(!availSub.isOfType(npcTeachType))
-					{
-						availSubs.remove(availSub);
-					}
-					else if(!availSub.isOfRace(PlayerRace.Human) && !availSub.isOfRace(PlayerRace.LightElf))
-					{
-						availSubs.remove(availSub);
-					}
-				}
-				else
-				{
-					// If the master is not human and not light elf,
-					// then remove any classes not of the same race as the master.
-					if(npcRace != PlayerRace.Human && npcRace != PlayerRace.LightElf && !availSub.isOfRace(npcRace))
-					{
-						availSubs.remove(availSub);
-					}
-				}

 

Go to

com.l2jfrozen.model.base.PlayerClass.java

 

Find this line and remove:

-
- private static final Set<PlayerClass> neverSubclassed = EnumSet.of(Overlord, Warsmith);

 

Find this line and remove:

- subclasses.removeAll(neverSubclassed);
-

 

Find this line and remove:

-
- subclasses.removeAll(neverSubclassed);

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock