mes "Hello, you can earn 1 random item of the following:";
mes "God Item Ingredients, Rare Equipments, Cards, Wings or Junks if you give me the following items.";
next;
mes "1 Special Exchange Ticket";
next;
mes "Do you have the items?";
switch(select("-Yes, i have them:-No, let me go fot them")) {
case 1:
mes "Alright, let's see...";
if(countitem(6153) <1){
mes "You don't have them, go for them and then comeback...";
}
else
{
mes "Alright, seems like you have them, here you go, good luck!";
set .Random, rand(getarraysize(.items));
getitem .items[.Random], 1;
delitem 6153,1;
}
close;
case 2:
mes "Alright, good luck on the hunting.";
}
close;
}
Hi I really need help with this npc. so my players are using my gacha tickets and i notice they are only getting items at setarray. items[9]. How do i enable all the arrays to work perfectly fine and have over 300 items that can be obtained from a single npc? (random prize)
Question
lionheartallstar
Hi I really need help with this npc. so my players are using my gacha tickets and i notice they are only getting items at setarray. items[9]. How do i enable all the arrays to work perfectly fine and have over 300 items that can be obtained from a single npc? (random prize)
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.