Tactical AI
Posted: Fri Jan 28, 2011 4:54 pm
Currently low health will guide the talent selection towards either HEAL or ESCAPE talents, but it will not actually switch the movement over to "flee_dmap". Only moving closer than ai_tactic.safe_range does that. I have whipped together an untested patch that will will run the tactical check every turn rather than every talent_in turns, and changes to flee_dmap if you want to escape. The patch is: http://pastebin.com/48zb6sFM
I'll test and play around with it a bit, but I think this is more flexible. Cheers!
I'll test and play around with it a bit, but I think this is more flexible. Cheers!