Dota 2
Ranked Matchmaking AI
AAA Apr 18, 2023 @ 4:58pm
Temporary fix for bots not having ult (local lobby only)
Go to ...steamapps\workshop\content\570\855965029

ability_item_usage_[hero_name] is where the bots choose skills and talents, make sure the ability number corresponds to the skill.

For example, ability_item_usage_brewmaster have this:
local AbilityToLevelUp = { Abilities[2], Abilities[1], Abilities[1], Abilities[2], Abilities[1], Abilities[4], Abilities[1], Abilities[3], Abilities[2], "talent", Abilities[2], Abilities[4], Abilities[3], Abilities[3], "talent", Abilities[3], "nil", Abilities[4], "nil", "talent", "nil", "nil", "nil", "nil", "talent", }
Abilities[4] used to be Primal Split but since 7.32 it's now Primal Companion. Abilities[5] should be used instead. So it should look like this:
local AbilityToLevelUp = { Abilities[2], Abilities[1], Abilities[1], Abilities[2], Abilities[1], Abilities[5], Abilities[1], Abilities[3], Abilities[2], "talent", Abilities[2], Abilities[5], Abilities[3], Abilities[3], "talent", Abilities[3], "nil", Abilities[5], "nil", "talent", "nil", "nil", "nil", "nil", "talent", }
Make sure to scroll down and check Ability Usage Thinking, in the same example on line 425:
Consider[4] = function()
This checks for Primal Companion instead, just replace the right skill number and the bots will skill and use ulti again (bots still can be stupid though, Brewmaster in this example sometimes will buyback and use ulti while in fountain because teamfight is still going on).

After you edited the files change it to read-only so the file won't revert back. Doing this will also mess up the update if the scripts are updated, so remember to untick read-only before update. This does not work for online co-op.
Last edited by AAA; Apr 18, 2023 @ 5:07pm
< >
Showing 1-1 of 1 comments
香槟.adamqqq  [developer] Apr 19, 2023 @ 8:18am 
Thanks, we will fix it soon.
< >
Showing 1-1 of 1 comments
Per page: 1530 50