Skip to content

[HELP]Npc subclass

Featured Replies

Paidia pws na kanw t npc gia subclass na dinei ka9e class?

l2jfrozen pack

Paidia pws na kanw t npc gia subclass na dinei ka9e class?

l2jfrozen pack

Δηλαδή θέλεις να έχει όλα τα class μέσα ??

  • Author

Mipws exeis kapio provlima sta matia sou ? ee??

Mipws exeis kapio provlima sta matia sou ? ee??

Πρώτα απ' όλα θα σε παρακαλούσα να μιλήσεις πιο ωραία !!!

anyway.

 

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);

Paidia pws na kanw t npc gia subclass na dinei ka9e class?

l2jfrozen pack

kita stin l2j ine mesa sta game config kai logika thane mesa sta confic tis frozen sou false theli na to kanis true tora den mporo na psakso pos legete sorry
Guest
This topic is now closed to further replies.

Account

Navigation

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.