Jump to content
  • 0
Sign in to follow this  
AmonaRoro1

can i get a developed job master ?

Question

hey , i want a developed job master that give u items for evry job change u have did , for example when someone changing to swordman give him a sword + 50 red potion . also for the 3rd jobs , give u the usual items when u change ur job by the " long quest 3rd jobs " 

i hope you understand :) , thanks

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest

You could change this basic script: https://github.com/HerculesWS/Hercules/blob/master/npc/custom/jobmaster.txt

 

Example: (not the best but a really easy way)

 

Get_Platinum:
	skill NV_FIRSTAID, 1, 0;
	if (BaseClass == Job_Novice) {
		if (Class != Job_SuperNovice)
			skill NV_TRICKDEAD, 1, 0;
	} else if (BaseClass == Job_Swordman) {
		skill SM_MOVINGRECOVERY, 1, 0;
		skill SM_FATALBLOW, 1, 0;
		skill SM_AUTOBERSERK, 1, 0;
                getitem 501,50;
                getitem 1103, 1;
	} else if (BaseClass == Job_Mage) {
.......

Share this post


Link to post
Share on other sites
  • 0

it works for the 2th jobs , where should i edit for the renwal and reborn classes ?


oh , there's a problem, when i became an reborn swordman it gives me same prize , even when i change to lord knight/Rune Knight , ;.; 


should i change this              } else if (BaseClass == Job_Swordman) {

        skill SM_MOVINGRECOVERY, 1, 0;
        skill SM_FATALBLOW, 1, 0;
        skill SM_AUTOBERSERK, 1, 0;
        getitem 501,50;
        getitem 1105,1;
 
Into BaseJob?
 
and add evry job like this ? 
 
 
 else if (BaseJob == Job_Rune_Knight) {
getitem 501,50;
 else if (BaseJob == Job_Warlock) {
getitem 502,50;
}
for exam .
 
ty
Edited by AmonaRoro1

Share this post


Link to post
Share on other sites
  • 0
Guest

 

it works for the 2th jobs , where should i edit for the renwal and reborn classes ?

oh , there's a problem, when i became an reborn swordman it gives me same prize , even when i change to lord knight/Rune Knight , ;.; 

should i change this              } else if (BaseClass == Job_Swordman) {

        skill SM_MOVINGRECOVERY, 1, 0;
        skill SM_FATALBLOW, 1, 0;
        skill SM_AUTOBERSERK, 1, 0;
        getitem 501,50;
        getitem 1105,1;
 
Into BaseJob?
 
and add evry job like this ? 
 
 
 else if (BaseJob == Job_Rune_Knight) {
getitem 501,50;
 else if (BaseJob == Job_Warlock) {
getitem 502,50;
}
for exam .
 
ty

 

Jup

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.