Jump to content

Recommended Posts

Posted

edw einai ena enas kwdikas pou isws boi8isei kapious an 8eloun NPC pou na prosferei ola ta subclass me ena click(not for newbies) :

 

ton dokimasa se L2J kai L2Jfree kai doulepse se mena afou eftiaksa to katalillo NPC kai ta katalilla edit ...twra apo ekei kai pera pm me gia kapio la8os...to path pou prepei na valete ton kwdika einai :

 

L2VillageMasterInstance.java in model\actor\instance

 

 

 

kai edw o  java kwdikas:

 

-                if (npcRace == Race.Human || npcRace == Race.Elf)

+               /*if (npcRace == Race.Human || npcRace == Race.Elf)

                {

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

 

                    // Remove any non-human or light elf classes.

                    else if (!availSub.isOfRace(Race.Human)

                        && !availSub.isOfRace(Race.Elf)) 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 (!availSub.isOfRace(npcRace)) availSubs.remove(availSub);

-                }

+                }*/

 

 

 

 

 

 

[move]not for newbies kai xriazetai compiled pack[/move]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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