Obviously Ragnarok's drop system allows for players to receive as few as none, and as many as all drops from a monster with each kill, but I want to have an item that they can only receive one of.
Let's call the item a raffle ticket. You kill a monster and it drops a raffle ticket, which you trade to an NPC for 1/3 different items. I don't want players to be able to have more than one raffle ticket at a time though. Is there a way to limit a character's ability to pick up an item if they already have one?
To continue on this line of thinking, (example) each raffle ticket corresponds to a different reward token- bronze, silver, and gold. I don't want players to be able to own both; a raffle ticket, and a reward token (I figure that will be a simple if statement), but preventing a player from acquiring additional raffle tickets still has me stumped.
Question
Azura Skyy
Obviously Ragnarok's drop system allows for players to receive as few as none, and as many as all drops from a monster with each kill, but I want to have an item that they can only receive one of.
Let's call the item a raffle ticket. You kill a monster and it drops a raffle ticket, which you trade to an NPC for 1/3 different items. I don't want players to be able to have more than one raffle ticket at a time though. Is there a way to limit a character's ability to pick up an item if they already have one?
To continue on this line of thinking, (example) each raffle ticket corresponds to a different reward token- bronze, silver, and gold. I don't want players to be able to own both; a raffle ticket, and a reward token (I figure that will be a simple if statement), but preventing a player from acquiring additional raffle tickets still has me stumped.
Thanks in advance,
~Azura Skyy
Link to comment
Share on other sites
2 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.