Jump to content
  • 0

Modifying Subclass System


Question

Posted

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)

12 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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

  • 0
Posted

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

  • 0
Posted

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?

  • 0
Posted

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?

  • 0
Posted

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

  • 0
Posted

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)

  • 0
Posted

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.


×
×
  • Create New...