other sidenote- wish there was a way to get the AI da to use swap intelligently.
I knew the AI probably wouldn't use this skill well when i put it in. Hope to get around to skill and item usage once we have a good core.
I can edit the conditions to use abilities. I haven't looked at DA's yet, but pretty much all skill actions could use some attention. Most of the default conditions are: is the skill available Yes/No -> Do we have the mana for it Yes/No -> Is there a target Yes/No -> Use skill.
For swap I was thinking of making it check for nearby ally demigods. If there is one maybe move to it and then use swap?
I've edited a couple way back in the .22 and earlier releases, so some AI's stop firing skills to save them for a situation. I think i set oak to save enough mana to shoot one penitence if a specific setup occurs. UB will save his grasp for a low health target or target trying to use a TP/pot if i recall correctly.
From what i saw today. defaults, AI vs AI, 3 on 3 cataract. Normal AI's can stalemate eachother for a long time. I left the game running and went to the store and came back to find them still fighting with roughly equal map control an hour + later. We may need a warrank 8+ portal capture action that ignores everything along the way and just runs for an enemy portal to try to get a portal advantage.
Took a look at the retreat pathfinding. Couldn't find anything too useful or moddable. The move functions don't seem to be in LUA? Its idea of a safe path isn't always great.
I didn't mention it but i relaxed the conditions on the teleport to tower with an enemy demigod near it. This could be considered a gank action, but the AI's need to be carrying TP's and not be occupied for it to come up. Occasionally 2 or all 3 will get it at the same time and if there is only one enemy by the tower I have seen them get a nice kill.
I discovered a bug I am fairly sure is in the base game. Going to make a mod to test it shortly. The AI shop validation function is broken for all idols. When the AI buys an idol of the category it already has it just replaces the IDOL. So the AI loses out on money from selling back old idols. On my local copy I fixed the check, so the AI can't do that, but it doesn't have any logic to sell existing idol and replace with the new one. It also doesn't check the idol its looking to buy's priority against the idol it already has. So I am going to have to do all that.