Cabrera 10 Posted February 15, 2014 Hello guyz, just wondering if i could give a gift to the player once he reaches the second job through the original job quests. So wat shld i do? Shld i use getitem command? Plz help thx Bewmp Quote Share this post Link to post Share on other sites
0 AnnieRuru 957 Posted February 15, 2014 run a search "jobchange" with "Find in files" in "herculesnpc" after every single *jobchange, getitem 501,1; .... quite hassle to do like this or the easy way, yet unoptimized way, is to use a custom npc, ask them come to this npc to claim the gift prontera,154,184,5 script kjdhfksdjfs 100,{ mes "blah blah come and get a prize"; next; if ( Class == Job_Novice ) { mes "no gift for the noobs"; close; } if ( Job_Gift[ Class ] ) { mes "You have already claim the gift"; close; } switch ( Class ) { case Job_Swordman: getitem 501, 1; break; case Job_Mage: getitem 501, 1; break; case Job_Archer: getitem 501, 1; break; case Job_Acolyte: getitem 501, 1; break; // .... add more default: mes "this job ID is not yet done because the author is feeling lazy hahaha"; close; } Job_Gift[ Class ] = 1; mes "have a nice day"; close;}1 thing good using another npc is you don't have to look at another file when debuggingthe bad ... of course, used up a few custom variable, and needs to reminds players to come and get it 1 Cabrera reacted to this Quote Share this post Link to post Share on other sites
0 Kashiro 2 Posted February 15, 2014 put getitem at script if i not mistaken Quote Share this post Link to post Share on other sites
0 Cabrera 10 Posted February 16, 2014 run a search "jobchange" with "Find in files" in "herculesnpc" after every single *jobchange, getitem 501,1; .... quite hassle to do like this or the easy way, yet unoptimized way, is to use a custom npc, ask them come to this npc to claim the gift prontera,154,184,5 script kjdhfksdjfs 100,{ mes "blah blah come and get a prize"; next; if ( Class == Job_Novice ) { mes "no gift for the noobs"; close; } if ( Job_Gift[ Class ] ) { mes "You have already claim the gift"; close; } switch ( Class ) { case Job_Swordman: getitem 501, 1; break; case Job_Mage: getitem 501, 1; break; case Job_Archer: getitem 501, 1; break; case Job_Acolyte: getitem 501, 1; break; // .... add more default: mes "this job ID is not yet done because the author is feeling lazy hahaha"; close; } Job_Gift[ Class ] = 1; mes "have a nice day"; close;}1 thing good using another npc is you don't have to look at another file when debuggingthe bad ... of course, used up a few custom variable, and needs to reminds players to come and get it Hey annie, the thing is that im trying to give individual gifts for each job. Example: A sniper gets a BG bow. A champion gets a BG knuckle like that so thats y i wanted to know if i can individually giv the gifts from each job quest npc Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted February 16, 2014 Well, with annie's script you could still differentiate the item that you will give for each class, Quote Share this post Link to post Share on other sites
0 Cabrera 10 Posted February 16, 2014 oh lol i was blind sry xD thnx sam, Annie a BIG thanks to u xD Quote Share this post Link to post Share on other sites
Hello guyz, just wondering if i could give a gift to the player once he reaches the second job through the original job quests. So wat shld i do? Shld i use getitem command? Plz help thx
Bewmp
Share this post
Link to post
Share on other sites