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;    

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