adamqqqplay / dota2ai

Ranked Matchmaking AI: An improved Dota2 AI based on Valve's default AI. Has more than 3 million subscribers on Steam.
http://steamcommunity.com/sharedfiles/filedetails/?id=855965029
GNU General Public License v3.0
309 stars 85 forks source link

Fix runtime errors in crystal maiden abilities #114

Closed JoshdanG closed 12 months ago

JoshdanG commented 1 year ago
  1. Fix nil arithmetic error for freezingFieldHitSomeoneTime
    • Can prevent all ability usage in rare cases
  2. Fix "Can't call CDOTA_Bot_Script:IsAlive on an object of type [none]" for iceFreezingEnemy
    • Can prevent all ability usage in rare cases
  3. Add comments to crystal maiden abilities
    • Add comments for ability names
    • Add comments for ending freezing field
  4. Remove "else" block that has no body