Jump to content
  • 0

Modifying Subclass System


madzkull

Question

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)

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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)

Link to comment
Share on other sites

  • 0

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)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...