get item based a job

IndieRO

New member
Messages
287
Points
0
Age
34
Location
Indonesia
Discord
RagnaIDN#7960
Emulator
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)..

 
 


 
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.

 
Last edited by a moderator:
@@True Zeal thx a lot it's fully working fine
default_wub.png


 
Back
Top