Jump to content
  • 0

Custom Job Changer


Noobnonymous

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  09/21/12
  • Last Seen:  

Can i request for a Job Changer that if you will be changed to 3rd job a NPC will require you some specific item in-order to be job changed. ( Only for 3rd job ) Thanks! ;)

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1132
  • Joined:  05/27/12
  • Last Seen:  

https://rathena.svn....m/jobmaster.txt

	if (select(" ~ Change into ^0055FF"+jobname(.@i)+"^000000 class: ~ ^777777"+((getargcount() > 1)?"Go back":"Cancel")+"^000000")==1) {
		mes "[Job Master]";

		// Add:
		if (Class > 4049) { // Job is third class
			if (countitem(item1) < amount || countitem(item2)...) {
				mes "You will need these items to change into third class:";
				mes "...";
                   close;
			}
			delitem item1, amount;
			delitem item2...;
		}

		mes "You are now "+A_An(jobname(.@i))+"!";
		if (.@i==4001 && .LastJob) set lastJob, Class;
		jobchange .@i;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  09/21/12
  • Last Seen:  

Do i need to put the Item Number at the item1 and item2? Thanks!

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

yes

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

Do i need to put the Item Number at the item1 and item2? Thanks!

I cannot see it on the script.

/hmm ?? you saw that ? or not ? ..... /swt

CrG6i.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  09/21/12
  • Last Seen:  

I was referring on the link of the script.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2369
  • Joined:  10/28/11
  • Last Seen:  

it's provided in post#2 together

trunk/npc/custom/jobmaster.txt

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.

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