I just want to ask how to make an npc script that will enable the whole party member to get the loot from the npc with the highest percentage of loot.
For example:
Party consist of 6 members including the leader. Npc will show same item rewards to the whole party members. Items are randomly selected by the npc.
Party leader view:
1st: When the party leader click the npc for the first time, the npc will show to him the item rewards then he will have an option to put it on the party pool or assigned it to a specific member.
2nd: If the leader put it on the party pool, the members will be able to loot that item but if the leader assigned it to a member then that member will automatically gets that item. This process will continue until all items are pooled or assigned.
3rd: Once the leader already distributed the items he will now hmgonna have the chance to loot the items as well.
4th: If the leader clicked the npc for the first time then click the cancel button when it is aboit to distribute then all items will automatically be putted in the party pool.
Party member view:
1st: When they clicked the npc they will be able to see what are the items that they can get.
2nd: if the leader is not yet done distributing the items, the members will not be able to loot the items yet.
3rd: Once the leader is done distributing the items the member will have an option to loot the items. This process will continue untill all items are looted.
Party leader did not touch the npc:
If the leader did not touch the npc at all after 2 mins all items will be distributed to all party members randomly.
After the whole party rried to loot the items from the npc:
After 2 mins, evwn if they are not yet done looting the items, the items will be distributed to the member who got the highest loot percentage to a specific item.
Example:
Red potion [1ea] - player 1 (25%)
Orange Potion [1ea] - player 2 (69%)
Green Potion [1ea] - player 1 (75%)
White potion [1ea] - player 3 (44%)
This example shows that this are the pnly players who will be able to get the items from the npc.
Format:
Items, quantity, player who got the highest percentage to that specific item, percentage or numbers that they got from rand(1,100).
I hope everybody got what i mean to this script. Thank you. .
Question
Reborn
Hello rathenians,
I just want to ask how to make an npc script that will enable the whole party member to get the loot from the npc with the highest percentage of loot.
For example:
Party consist of 6 members including the leader. Npc will show same item rewards to the whole party members. Items are randomly selected by the npc.
Party leader view:
1st: When the party leader click the npc for the first time, the npc will show to him the item rewards then he will have an option to put it on the party pool or assigned it to a specific member.
2nd: If the leader put it on the party pool, the members will be able to loot that item but if the leader assigned it to a member then that member will automatically gets that item. This process will continue until all items are pooled or assigned.
3rd: Once the leader already distributed the items he will now hmgonna have the chance to loot the items as well.
4th: If the leader clicked the npc for the first time then click the cancel button when it is aboit to distribute then all items will automatically be putted in the party pool.
Party member view:
1st: When they clicked the npc they will be able to see what are the items that they can get.
2nd: if the leader is not yet done distributing the items, the members will not be able to loot the items yet.
3rd: Once the leader is done distributing the items the member will have an option to loot the items. This process will continue untill all items are looted.
Party leader did not touch the npc:
If the leader did not touch the npc at all after 2 mins all items will be distributed to all party members randomly.
After the whole party rried to loot the items from the npc:
After 2 mins, evwn if they are not yet done looting the items, the items will be distributed to the member who got the highest loot percentage to a specific item.
Example:
Red potion [1ea] - player 1 (25%)
Orange Potion [1ea] - player 2 (69%)
Green Potion [1ea] - player 1 (75%)
White potion [1ea] - player 3 (44%)
This example shows that this are the pnly players who will be able to get the items from the npc.
Format:
Items, quantity, player who got the highest percentage to that specific item, percentage or numbers that they got from rand(1,100).
I hope everybody got what i mean to this script. Thank you. .
Link to comment
Share on other sites
1 answer 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.