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

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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