I was not sure where to post this in order to make people easily find this, because I saw a couple of guys in WC3 seeking for this. However since one of the latest patches, the AI in Warcraft 3 cannot choose Hero spells for their heroes. In any melee or custom map, it fails the standard AI script and somehow they don't know how to learn a hero spell. However, if the spell is learnt, they can use it like in the old days. That was really annoying when I wanted to practice agaisnt AI or similiar occasions. So I did a kind of "fix". I did some GUI and jass and it doesn't look very nice, but I made it work and you can easily adjust the settings. I made some triggers which make the AI heroes learn spells via trigger. The order in which they learn them can be adjusted, if you like to do it. I just did write it very fast, so ... no thoughts about the order. How to use it: - I attached a trigger file to this post ('AI fix triggers.zip'). - There are 2 files in it you must have both of them in the same directory! - Just download it, open the map you wanna play with AI in the World Editor. Copy that map or save it with different name to not override it. - Then go to the "Trigger"-Section in the World Editor (it is the 'a'-Symbol). - Then: File -> Import Triggers -> Choose the .wtg file (but make sure the other file is in same directory). - Then go to "Scenario -> Map Options" and on the bottom of this new window is an option called "Game Data Set". Change it to "Melee (Latest Patch)" because otherwise the editor will most likely save your map in a very old WC3 version. - Save map and play (or adjust the order of the spell learning in the trigger section). This will make a melee map marked as "non melee", because it has triggers. Anyway I did nothing else but make the computer-controlled heroes learn their spells, so they can use it. It would be nice to mention me if you use it. I also attached the "emerald gardens" (normal WC3 TFT map) in which I imported the AI fix, so you can see how it should look like.