In other news.. I don't know how you are doing the targeting but I've always thought it would be cool if AI did random things. Like 90% of time it does what "makes sense" but 10% of time it does something completely random. That would make it more like a human opponent because you wouldn't be able to always guess what it's going to do next. Is something like that possible?
It's certainly possible. There's already some randomness in the final decision actually. But it's limited to "I do as expected" or "I cancel my action". When you were talking about "completely random", I guess you were thinking about "still acting but targeting another location than the most valuable", right?
I can do that. It would even be a good way to tone the difficulty down a bit. If Zanzarino nerfs Sundial and I make the AI stronger, there's a risk that the game becomes too hard for casual gamers.
Yes, that. Something like this:
When the script list the targets in priority order, then it just randomly chooses one instead of going for the top priority target automatically.
65% chance of priority target 1
20% chance of priority target 2 (if available)
10% chance of priority target 3 (if available)
5% chance of doing nothing
Of course I pulled those numbers out of my ass but you get the idea.
Lets talk about the situation right now. Lets say I'm fighting a False God and have only 1 HP left. He has 200+ damage on the table, doesn't have a weapon and has used all his weapon cards. This False God does however have Explosion in his hand.
Now if I play Sundial I know for a FACT that there is NO POSSIBLE WAY of him killing me during the next 2 turns because I have also other higher priority permanents on the table. AI will target those higher every single time.
But if AI made his decisions randomly like I suggested earlier, he might skip those higher priority targets, take out the Sundial and kill me.
Having this element of unpredictability would make the game more fun.