Nostrademous / Dota2-WebAI

MIT License
33 stars 6 forks source link

[LUA CODE] Implement InventoryHelper:BuyItem( sItemName ) #5

Closed Nostrademous closed 7 years ago

Nostrademous commented 7 years ago

Item Purchasing is an atomic operation in Dota 2 - our bots need to know how to buy an item and check that the transaction occurred (by checking the result against: https://developer.valvesoftware.com/wiki/Dota_Bot_Scripting#Item_Purchase_Results) and notify the appropriate system of the transaction.

Nostrademous commented 7 years ago

This has been started... needs some form of feedback notification to trigger still (or another method) of success/failure of purchase action.