Jump to content
  • 0

about change classes in acis


Question

Posted

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?

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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

  • 0
Posted

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;    

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