Skip to content

Modifying Subclass System

Featured Replies

Guys where do I edit somthing example an orc mage can't subclass to a human paladin or temple knight? where do I edit the subclasses of orcs or any other char? like Dark elfs can sub to elves class? thanks guys... 8)

L2VillageMasterInstance and his childs

Guys where do I edit somthing example an orc mage can't subclass to a human paladin or temple knight? where do I edit the subclasses of orcs or any other char? like Dark elfs can sub to elves class? thanks guys... 8)

in PlayerClass.java check it out read it a bit carefully u may understand it ;) if not just quote me with your issue

  • Author

Sorry for being noob but I can't understand anything here hehehehehe anyway I need help in editing the subclass of warcrayer/doomcryer and overlord/dominator that they cannot sub to paladin, temple knight and shillen knight...

you need the sources of your pack to do this.

Try this,i hope it will help you.

 

PlayerClass.java

static
   {
       Set<PlayerClass> subclasses = getSet(null, Third);
       subclasses.removeAll(neverSubclassed);

       mainSubclassSet = subclasses;

       subclassSetMap.put(DarkAvenger, subclasseSet1);
       subclassSetMap.put(Paladin, subclasseSet1);
       subclassSetMap.put(TempleKnight, subclasseSet1);
       subclassSetMap.put(ShillienKnight, subclasseSet1);
+       subclassSetMap.put(Overlord, subclasseSet1);
+       subclassSetMap.put(Warcryer, subclasseSet1);

Try this,i hope it will help you.

 

PlayerClass.java

static
    {
        Set<PlayerClass> subclasses = getSet(null, Third);
        subclasses.removeAll(neverSubclassed);

        mainSubclassSet = subclasses;

        subclassSetMap.put(DarkAvenger, subclasseSet1);
        subclassSetMap.put(Paladin, subclasseSet1);
        subclassSetMap.put(TempleKnight, subclasseSet1);
        subclassSetMap.put(ShillienKnight, subclasseSet1);
+       subclassSetMap.put(Overlord, subclasseSet1);
+       subclassSetMap.put(Warcryer, subclasseSet1);

? whats this?

? whats this?

With this way,a player wont be able to add a tank sub on orc mystic.

as far i can see this is false cuz they are never learned subs means nobody can learn them lol

  • Author

Try this,i hope it will help you.

 

PlayerClass.java

static
   {
       Set<PlayerClass> subclasses = getSet(null, Third);
       subclasses.removeAll(neverSubclassed);

       mainSubclassSet = subclasses;

       subclassSetMap.put(DarkAvenger, subclasseSet1);
       subclassSetMap.put(Paladin, subclasseSet1);
       subclassSetMap.put(TempleKnight, subclasseSet1);
       subclassSetMap.put(ShillienKnight, subclasseSet1);
+       subclassSetMap.put(Overlord, subclasseSet1);
+       subclassSetMap.put(Warcryer, subclasseSet1);

 

I can see here in subclasseSet1

 

Set<PlayerClass> subclasseSet1 = EnumSet.of(DarkAvenger, Paladin, TempleKnight, ShillienKnight);

 

its class are all tankers if I add warcryer or overlord maybe they can sub to it?

 

update:

 

I tried declaring a new one

 

private static final Set<PlayerClass> subclasseSet6 = EnumSet.of(BountyHunter, Warlord, Gladiator, ElvenElder, ShillienElder, Destroyer, Tyrant, Warcryer, Bishop, Prophet, Swordsinger, Bladedancer, TreasureHunter, AbyssWalker, Plainswalker, Hawkeye, SilverRanger, PhantomRanger, Warlock, ElementalSummoner, PhantomSummoner, Sorceror, Spellsinger, Spellhowler);

private static final Set<PlayerClass> subclasseSet7 = EnumSet.of(BountyHunter, Warlord, Gladiator, ElvenElder, ShillienElder, Destroyer, Tyrant, Bishop, Prophet, Swordsinger, Bladedancer, TreasureHunter, AbyssWalker, Plainswalker, Hawkeye, SilverRanger, PhantomRanger, Warlock, ElementalSummoner, PhantomSummoner, Sorceror, Spellsinger, Spellhowler);

 

I'm not sure if this one works?

I can see here in subclasseSet1

 

Set<PlayerClass> subclasseSet1 = EnumSet.of(DarkAvenger, Paladin, TempleKnight, ShillienKnight);

 

its class are all tankers if I add warcryer or overlord maybe they can sub to it?

 

update:

 

I tried declaring a new one

 

private static final Set<PlayerClass> subclasseSet6 = EnumSet.of(BountyHunter, Warlord, Gladiator, ElvenElder, ShillienElder, Destroyer, Tyrant, Warcryer, Bishop, Prophet, Swordsinger, Bladedancer, TreasureHunter, AbyssWalker, Plainswalker, Hawkeye, SilverRanger, PhantomRanger, Warlock, ElementalSummoner, PhantomSummoner, Sorceror, Spellsinger, Spellhowler);

private static final Set<PlayerClass> subclasseSet7 = EnumSet.of(BountyHunter, Warlord, Gladiator, ElvenElder, ShillienElder, Destroyer, Tyrant, Bishop, Prophet, Swordsinger, Bladedancer, TreasureHunter, AbyssWalker, Plainswalker, Hawkeye, SilverRanger, PhantomRanger, Warlock, ElementalSummoner, PhantomSummoner, Sorceror, Spellsinger, Spellhowler);

 

I'm not sure if this one works?

 

Just try what i gave you :)

  • Author

R O F L ! I just made a fool of myself declaring new one without even reading the code itself thanks again.. I'll test this one later...

 

UPDATE:

 

Thanks parizakis for the help its now solved

 

requesting lock of the topic  8)

R O F L ! I just made a fool of myself declaring new one without even reading the code itself thanks again.. I'll test this one later...

 

UPDATE:

 

Thanks parizakis for the help its now solved

 

requesting lock of the topic  8)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.