Jump to content
  • 0

about change classes in acis


thepsolartek

Question

hi members as i try to open a new acis based server, i ve recently saw that you cannot change subclass in each npc but only in the specific one. for example i am ghost hunter and add a titan sub. if i want to change back to ghost hunter i have to go to the dark elf npc. how can i  make it to change in each npc and not only in the specific one?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

VillageMaster.java 

    /*
     * Returns true if this PlayerClass is allowed for master
     */
    public final boolean checkVillageMaster(PlayerClass pclass)
    {
        if (Config.ALT_GAME_SUBCLASS_EVERYWHERE)
            return true;
        
        return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass);
    }

 

Config.java

 

public static boolean ALT_GAME_SUBCLASS_EVERYWHERE;
ALT_GAME_SUBCLASS_EVERYWHERE = players.getProperty("AltSubclassEverywhere", false);

 

 

and add the config in players.properties

AltSubclassEverywhere = True

 

Edited by @IcathiaLord
Link to comment
Share on other sites

  • 0

i think that in 382 rev that i use it has to be like this?

 

public final boolean checkVillageMaster(ClassId pclass)
    {
         if (Config.ALT_GAME_SUBCLASS_EVERYWHERE)
             return true;    
        return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass);

Link to comment
Share on other sites

  • 0

public final boolean checkVillageMaster(ClassId pclass)
    {
         if (Config.ALT_GAME_SUBCLASS_EVERYWHERE)
             return true;    
        return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass);

 

try this

public final boolean checkVillageMaster(ClassId pclass)
    {

return true;    

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

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