Re: bot weapon choice -
12-11-2006
The most desired weapons are the most right in the list.
Currentlly in Your podbot.cg these items they are trying to buy the most frequently:
[NORMAL] - ...22,15,17,7,8
[AGRESSIVE] - ...10,12,13,11,25
[DEFENSIVE] - ...13,15,12,10,8
I hope You know now what You need to do to fix Your problem.
The bot checks the list from the right side - the bot checks if it has got enough money to buy the most right item and - if so - it puts it in some table with 5 favourities weapons. If no - the checks moves to the left (second item from the right side). Ones the bot finds 5 primary weapons with enough money for them - the bot randomly chooses some weapon.
|