-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Once it has received the command and the botstatus is waiting it should look for the player that is going to accept the trade on the map and trade him.
If trade fails (for example get's cancelled for some reason) retry up to 3 times.
parameters will be passed along the action in the form:
parameters : [
'player' : 'rsn',
items:[ id: '', amount:'']
]
Do checking if the bot actually has the items in it's inventory else remove the items that are not there from the array + reduce the amount to the amount available in the inventory