Jump to content
  • 0

NPC Only Change Sub Class


Fiou

Question

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?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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