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]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...