L2JLisvus

Would you like to react to this message? Create an account in a few clicks or log in to continue.

5 posters

    SUBCLASS RESTRICTION OFF

    avatar
    lordeze


    Posts : 97
    Join date : 2013-05-07

    SUBCLASS RESTRICTION OFF Empty SUBCLASS RESTRICTION OFF

    Post  lordeze 4th September 2013, 18:00

    as a suggestion I found that the viewing restriction light elf and dark elf. giving sub is very annoying because when you start light elf can not have any sub dark elf dark if you start you can not make any odds sub light elf.

    if you can pull the light resticion elf and dark elf would be better so you could still create sub retail ventures.
    or add an option in the config to get this restricion

    off retail note: there is restricion comezar elf but then sub human light and then allows you to drow

    example: start BladeDancer elder Elven Prophet Bishop: this allowed
                                        Elven BladeDancer elde-not allowed no human in between the sub
    DnR
    DnR
    Admin
    Admin


    Posts : 1475
    Join date : 2012-12-03
    Age : 34

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  DnR 5th September 2013, 12:23

    So, what you basically want is remove subclass restriction and for instance add elven subclasses on darkelves?
    avatar
    lordeze


    Posts : 97
    Join date : 2013-05-07

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  lordeze 5th September 2013, 18:01

    DnR wrote:So, what you basically want is remove subclass restriction and for instance add elven subclasses on darkelves?

    do not want is to let me have sub light elf and dark elf, why not let me, if I start as a dark elf (base) will not let me throw any other light elf sub-

    lisvus data example:
    Base: BladeDancer (base) + Prophet + Bishop + DarkAvenger (leave me there is light elf)

    Base: BladeDancer (base) + elven Elder (do not leave the light elf)

    BladeDancer (base) + Sorceror (human lets me) + elven Elder (also not allowed)

    BladeDancer (base) + Prophet Bishop (let me) + elven Elder (not let me light elf)

    other data:

    Base: BladeDancer (base) + Elder (I leave the light elf)

    BladeDancer (base) + Sorceror (human lets me) + elven Elder (I leave this human sub before the light) + DarkAvenger

    BladeDancer (base) + Prophet + Bishop (let me) + Elder (leave me there are 2 sub human before the elven elder)

    RESTRICION WITHOUT:

    Base: BladeDancer (base) + elven Elder (let me no restricion)


    I hope I expliacado. -
    DnR
    DnR
    Admin
    Admin


    Posts : 1475
    Join date : 2012-12-03
    Age : 34

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  DnR 5th September 2013, 21:14

    I know what you mean.
    Let me point out that our way is the "retail way".
    The way you try to explain to me is a bug of indeveloped projects.
    I'll see what i can do.

    Thanks for suggesting.
    DnR
    DnR
    Admin
    Admin


    Posts : 1475
    Join date : 2012-12-03
    Age : 34

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  DnR 7th September 2013, 20:40

    Until such a thing is done, try removing the following part from gameserver/model/base/PlayerClass.java

    Code:

                switch (player.getRace())
                {
                    case Elf:
                        subclasses.removeAll(getSet(DarkElf, Third));
                        break;
                    case DarkElf:
                        subclasses.removeAll(getSet(Elf, Third));
                        break;
                }
    I believe it's what you want.
    dandiarena
    dandiarena


    Posts : 95
    Join date : 2013-06-20
    Age : 32
    Location : Argentina

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  dandiarena 17th October 2013, 16:26

    and for add Overlord and Warsmith subclass? what can i do?
    avatar
    Wazarro


    Posts : 1
    Join date : 2019-10-03

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  Wazarro 3rd October 2019, 19:37

    // private static final Set<PlayerClass> neverSubclassed = EnumSet.of(Overlord, Warsmith);

    // subclasses.removeAll(neverSubclassed);

    subclasses.remove(this);
    //switch (player.getRace())
    //{
    // case elf:
    // subclasses.removeAll(getSet(DarkElf, Third));
    // break;
    // case darkelf:
    // subclasses.removeAll(getSet(LightElf, Third));
    // break;
    //}



    Never to late xD
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  Karakan 3rd October 2019, 19:55

    Do not revive dead threads.
    Besides DnR posted a solution allready.

    Also use [code] tag to post codes. Cool

    Sponsored content


    SUBCLASS RESTRICTION OFF Empty Re: SUBCLASS RESTRICTION OFF

    Post  Sponsored content


      Current date/time is 19th May 2024, 14:25