Jump to content
  • 0

NPC Only Change Sub Class


Question

Posted

hey guys i wanted 1 npc to only change sub classes...i mean i want when 1 character talk to npc right in panel the list of subclasses.and dont press 1 button with "change subclass" and after the list of subclasses...understand?

1 answer to this question

Recommended Posts

  • 0
Posted

I think you're going to have to dig around in the java. If you look at the HTM of a villagemaster (whom you can change sub classes at) they have a special bypass:

 

<a action="bypass -h npc_%objectId%_Link villagemaster/SubClass.htm">Sub Class.</a><br>

 

after checking the villagemaster/SubClass.htm file, you'll see the bypass for adding or changing subclasses:

 

<a action="bypass -h npc_%objectId%_Subclass 1">Add Sub-Class.</a><br>

 

What I'm assuming is that the subclasses that are shown to the player are determined based on the ID of the NPC you're asking.

 

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