Jump to content
  • 0
Sign in to follow this  
IndieRO

get item based a job

Question

is it possible the player get the item when change job
if yes, can someone help me make this script
 
how to produce :
when player change job ex swordman player will get item spear (1404)..
when player change job ex thief player will get item maingauche (1207)..
 
 

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Before they change class, put in a callsub or an area to check job and what item they'll get.

Idk if this is what you're after.

 

e.g.

 

 
//earlier in script
mes "Change to <class>?";
next;
menu "Yes",-,"No",L_No;
callsub L_ItemGive;
jobchange Job_Placeholder;
close;
 
//later in script
L_ItemGive:
if (Class == Job_Swordman) getitem 1404,1;
if (Class == Job_Thief) getitem 1207;
return;

If you want them to receive an item depending on their new class, put callsub after jobchange.

Edited by True Zeal

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.