Artificial Stupidity/Video Games/Role-Playing Game

Examples of in  games include:

The Elder Scrolls

 * In The Elder Scrolls IV: Oblivion enemies seem to prioritize weaker foes. This means that a character can cast a summon spell and watch while the enemies ignore him completely while he flings fireballs at them. But it also means that bandits and monsters will ignore the player and attack your horse even when you're wailing on them with your sword. Why do these people hate horses so much?
 * This may actually be an issue of disposition rather than power. As you complete quests and earn Fame points, NPCs and monsters come to like you more. In extreme cases, they may not be hostile at all, but short of that, if you have a positive reputation, they prefer to attack your zero-reputation horse.
 * AI failure can go from annoying to down right disturbing. Annoying when your AI allies keep dying by falling off things and disturbing when an entire army killed each other (While screaming Murder!, Murder!) because they'd hit each other in combat three times. It gets even worse when you bring them back to life and they do it again...
 * Allied NPCs can often be notoriously suicidal. Several quests require you to take NPCs through the hazard-filled planes of Oblivion, and it's rare you'll manage to escape back through the Gate with everyone you brought in. Allies (and enemies) will fling themselves off of cliffs into lava or off balconies seventy feet in the air in an attempt to get at an enemy they've spotted on the other side of the chasm. Even at minimal health, NPCs will happily fling themselves into combat, occasionally moving in front of the player character and stopping them from helping them out, only to be cut down within seconds. Escort quests (of which there are thankfully few) are immensely frustrating.
 * Case in point, Viranus Donton, who you joins you on a quest for the Fighters Guild where you need to go into a cave full of ogres, trolls, and a minotaur. Luckily, he's "essential", so the ogres, trolls, and minotaur in the cave can only knock him out temporarily (which you'll almost certainly learn early in the cave when he runs into 3 trolls at the same time).
 * Some immersion Failure AI bugs include animals grazing on stone, people trying to plough rocks, extreme rubber necking and others.
 * This was actually an improvement on The Elder Scrolls III: Morrowind. Allied NPC's would cast exploding spells at enemies who were in melee with the player (thus killing the player), flying enemies would get stuck in tree branches, neutral animals would happily walk into pools of flowing lava, neutral NPC's would walk into a wall and refuse to stop, just walking in place with their face planted against it, and hostile NPC's would run in circles because the player character was standing on a boulder.
 * In both Oblivion and Morrowind, if you stand in an area which an enemy without ranged attacks can't reach, they won't run away or pick up the bow from that archer you just killed. No, the only rational option is to get as close as possible and run back and forth a bit while taking fireball after fireball in the face. This was the reason levitation spells were removed after Morrowind.
 * There is no excuse for this.
 * That and how levitation would break the game by letting you scale city walls when citys are separate zones.
 * Oblivion at least seems to a direct relationship between player stealth skill level and NPC stupidity, NPC's will get filled full of arrows while making comments like 'it must have been the wind', just leveling a skill approaches Game Breaker territory, and that's before you start using 100% chameleon....
 * Curiously, in some cases the trope is inverted: Some enemies are too smart to be realistic. For example, in Oblivion you can be standing on top of a wall or a bridge, and eg. fire an arrow towards a rat below you, making it attack you. Now the rat will find a path to your location even if it's a mile-long path going through a complex dungeon, most of it not even directly visible from its current position. Seemingly rats in Oblivion have perfectly memorized the entire dungeon floormap and are able to immediately find the shortest route to your location, no matter how long and contrived it might be.
 * The Elder Scrolls V: Skyrim has generally superb AI, but the friendly NPCs still like to charge into melee combat against superior opponents, occasionally getting in the way of your own attacks. It's terribly disheartening to accidentally murder your own party member while aiming for a bandit.
 * You can also rob anybody blind if you first put a pot on their heads.
 * An example of Artificial Stupidity in Skyrim (though not limited to it) is using stealth and archery - if there are two enemies, kill one, run away, then come back. The second will have abandoned his search and continuing as though nothing has happened, usually with a comment along the lines of "I'm sure I heard something".
 * The game actually has complex relationship webs between NPCs indicating who is a friend or family member of who. This does not mean they will behave differently after a dragon attack wipes out everyone in town but themselves, of course. And during said dragon attack you can witness people just sitting on their perch knitting. But Shor have mercy on your soul if you accidentally hit a chicken in your attempt to kill said dragon because the whole town will stop fighting the dragon and murder you.
 * Using deadly force and missing does not count as a crime. You can take your time missing 20 arrows and the guard in front of you will only take action after your 21st arrow hits someone. In fact, due to a programming oversight Flaming Familiar explosions are treated as pretty much a random act of God instead of a crime: you can blow up the market square and people will cower and lament their fallen family members but will ignore the fact that you summoned that familiar in plain sight.

Fallout

 * Fallout will probably go down in history as the game where the main threat to your health was your party members... what with them repeatedly shooting you in the back with automatic weapons and trapping you in corners. The sequel tried to alleviate it by adding commands so you give them tactical instructions or shove them out of your way, but you should still never give your henchmen anything with a burst mode.
 * Also, the friend/foe recognition was just... odd. A stray shot hitting someone who was non-hostile would convince your followers they were viable targets. For example, the quest to guard Grisham's brahmin against wild dogs: Vic takes aim at one dog, and wings a brahmin by mistake. The rest of your party immediately ignore the dogs and attack the cattle instead. You lose a hundred bucks for each cow lost. Thanks a bunch, guys. Why do I keep you around?
 * More burst shot trouble: enemy at point blank range, no civilians in sight: single shot. Enemy at 10 meters, lots of civilian in here: burst shot.
 * Party members in Fallout 2 choose a target, and stick to it. When the target is unreachable, they stand in place, doing nothing, and getting shot until running away while there was another perfect target right next to them!
 * Fallout 3 still carries that torch -- charging in ahead of your follower often gets you shot in the back ("Can I have a better weapon?" "What, the better to kill me with?") On the other hand, your more perceptive allies will bellow battle cries while you're moving in stealthily, sometimes when they're directly behind you so as to alert the target you're approaching, and sometimes while weaving directly across your line of fire.
 * The AI also carries over the Oblivion tradition of being unable to climb up rocks. Doesn't mean much if the opponent has a gun, but if they're melee, they'll just run up against the wall or try a non-existent way around to get to you.
 * A final offense is that the AI charges at you in a straight line, meaning that the player can lay down mines on the ground as they fall back and the enemy will cripple itself running over them.
 * Dogmeat in Fallout 3 is a loyal guard dog. So loyal he'll defend you in battles that will obviously kill him nearly instantly. I admire your courage, Dogmeat, but rushing at a Deathclaw while you have no armor and only melee attacks isn't brave. It's totally stupid.
 * That was pre-Broken Steel. Now that Dogmeat scales to level 30, he's nigh-unkillable. Still dumb as a rock, but he doesn't die constantly. And on the off chance he does, hey, puppies!
 * It fixed many annoying things from Oblivion, but there are still some issues. After the game release, there were reports that Megaton citizens had been reportedly turning up dead. Was it unscripted murder? No, THEY FELL OFF THE WALKWAYS.
 * After leveling your stealth skill enough and obtaining the Chinese Stealth Armour from the Operation Anchorage, you have officially won the game. Equip the stealth armour and a melee weapon. Enemies will go into alert for all of two seconds after being hit before deciding that they must have imagined the knife wound, allowing you to hit them again. Rinse, repeat.
 * Most egregiously, the above even works with the Ripper and the Auto Axe in full-auto. These weapons are, respectively, a mini-chainsword and a concrete saw.
 * Their habit to run into enemies when you've equipped them with damn weapons is just frustratingly annoying. That power armour may as well be for naught by now.
 * Fallout: New Vegas improved the AI for party members...for the most part. You still frequently get treated to the sight of your melee-oriented companion dashing valiantly off cliffs and breaking their legs to chase down a Bloatfly, or rushing headlong off the road to attack a swarm of Cazadores. At least most of them aren't likely to shoot you in the back.
 * Never, ever give a ranged specific companion like Boone a high DPS melee weapon. Nothing ruins your nicely planned trap for the boss like Boone running past you, stabbing one of the mobs and dying in bullets while he is the best sniper in the world!
 * In Fallout Tactics: Brotherhood of Steel, Load Lifter robots do not seem to understand that they're too wide to fit through certain tight spaces. This results in them getting stuck, as they fruitlessly keep trying to move through the gap. The player can exploit this by positioning their squad on the other side of said gap and shooting the robot with impunity.

Final Fantasy

 * Final Fantasy Tactics Advance and A2 feature some examples of this. Yes, in A2 the people you're escorting almost never just rush into combat (except when you're escorting overconfident pricks, which makes sense), which is nice... but enemies and friendly combatants alike make some of the stupidest decisions. Examples? Physically attacking a unit with Strike Back (which allows it to parry and counter any normal attack), or trying to cause a status effect to a unit which is openly immune to it, or go after the little supporting character while your Dragoons are ripping the enemy a new one... are some of the most usual ones.
 * Status immunities aren't the only things that the AI disregards... like inflicting silence on non-magic users. Why. Why do you do something like this?
 * A2 also has some pretty desperate, yet dumb monsters. Chocobos, for example, will sometimes use Choco Cure or Choco Barrier on their allies if they are next to them, but are willing to use these skills even if you are in its range, thus you get the free buffs or heals. Some monsters like Antlions have attacks that are elemental based and can cause a debuff. They will use these abilities on their allies if they can absorb the element, but don't care if they are hit with the debuff.
 * The chocobo thing is sometmes used in the original FFT to farm EXP- two allied characters drive a regular chocobo into a corner, and attack it enough to lower its HP without ever killing it. The chocobo keeps using Choco Cure to heal itself, thus healing the allied characters from any damage it may have caused them, allowing this system to potentially go on forever, upping the EXP of the characters with every attack.
 * The original Final Fantasy Tactics has this in places as well...
 * The worst is one battle with a particularly suicidal guest character. If she is KO'd, you lose. Your opponents are a high level swordsman (who always gets first turn, with which he always takes half the guest's HP), and two assassin type characters who can both kill any character instantly with 100% accuracy. So, naturally, the guest character will often be found rushing right into the middle of them instead of running the hell away. Unless your characters are particularly speedy, you can, and probably will, lose the battle before you even get a turn.
 * Depending on how many save slots you feel like using, odds are you'll've also trapped yourself in the area so you can't go out an grind up some more levels.
 * A less damaging but still valid example comes from a battle where the character you have to protect is statistically average, but has a single special ability that's so powerful there'd be no reason to ever use anything else. Naturally, he doesn't do the smart thing and use it every turn.
 * One solution for stupid allies: willingly immobilize them so that they don't rush blindly towards the enemy and do something stupid.
 * Another example in Final Fantasy Tactics is when one of your party member get KO'd, rest of the allies would rush to revive and cure said member, only for that newly-revived ally to get KO'd by enemy again. The allies basically waste more turns and items on reviving the ally, instead of dealing with the enemy, especially when the enemy can be easily defeated.
 * Of course, there are some 'positive' examples. A good example is the Loss Strategy used by people attempting solo challenges. You see, many of the later (and thus harder) bosses have the ability to confuse a single party member with 100% success rate, baring equipment granting immunity. Hitting that character will break the confusion, so the computer is programmed to not to attack the character unless they can kill them quickly enough. As such, if you only have one character in a battle, letting them get confused will prevent the boss from attacking them, whereas your character will act randomly, which will result in your character slowly killing the boss, as hitting the boss is the only productive thing they can do.
 * In Tactics Adavance, AI-controlled archers will frequently waste their turns shooting at enemy units who have the Block Arrows ability. This isn't limited to enemy archers either. Ally archers, such as Ritz's Viera partner, Shara, will do the same thing.
 * Final Fantasy X: the blitzball AI can be hilariously dumb. For example, they will flat-out ignore the one with the ball until he or she passes within a certain radius, and then follow them to the ends of the earth, allowing you to pull the entire team halfway across the field to leave the goal open. Occasionally, you also get daft role allocations, like the Ronso Fangs putting a guy with a Catching score of 6 in goal at a time when an underlevelled striker is still rocking a Shooting score of 15-20, or tactical decisions, like having a guy with an appalling shooting score try to go for the goal from midcourt.

Mass Effect

 * Mass Effect has a couple of examples of minor Artificial Stupidity. Garrus Vakarian had a strange habit of using Adrenaline Burst to re-set the cooldown on all his skills right at the beginning of battle, before he'd done anything. Squad members would try to stay near the player unless told to go elsewhere (even if they were Snipers and the player was a close-quarters fighter, or vice-versa), and sometimes, trying to tell them to go elsewhere resulted in them telling you they couldn't get there- because there was a corner (or a box, or similar) between them and there. They would also switch to weapons they were untrained (and therefore did much less damage) with after cutscenes (though Shepard did this also) and repeatedly fire into walls and other obstacles in an attempt to hit enemies that had ducked behind them.
 * The faults of both enemy and ally AI can be seen if you play as a sniper and, in true sniper fashion, take out all your enemies from several hundred feet away (for example, picking off enemies from the top of a mountain while on the ground on a random planet). Actually hitting an enemy from that distance will automatically put you into combat, which can lead to allies using shotguns (the effective range of which is about twenty feet) and enemies firing wildly in your direction, landing maybe one shot in fifty. The enemies, however, will never get any closer to allow you to ventilate their heads with all the time in the world aside from occasionally dodging easily seen rockets and the energy balls Geth Armatures fire (yes, it works on them just the same - though it does take a while) by moving to one side a bit.
 * Rocket troopers and geth colossi tend to focus fire on the Mako instead of the player and their squad so long as you stay close by, even if they have a perfect shot at the player. This can be exploited thoroughly to get max XP out of fights with armatures and colossi that ordinarily would be done in the Mako--cut down their health with the Mako's cannon, then get out, hide behind the Mako, and it's easy to take down otherwise near-impossible enemies. Because the Mako usually won't be destroyed unless you're inside, it can take nearly unlimited amounts of damage... just be sure to take out every enemy before getting back in!
 * Anyone complaining about Thresher Maws have probably never tried taking one out on foot with a sniper rifle. Approach the Thresher's spawn point in the Mako, disembark when it pops out of the ground, and stand a fair distance away. Snipe, sidestep the painfully slow acid spit, snipe, sidestep the painfully slow acid spit, snipe... See, the difficulty with the Threshers is that they can instantly gib you in the Mako; but will forego the burrow attack for the slow acid spit if you're on foot. Plus, you get less XP if you kill something with the Mako, so farming Threshers on foot is easier and more profitable.
 * Another thing. Armature-class geth have heavy machine guns as well as the incredibly slow directed energy weapon. They almost never use them except at extreme range. Get in close, and they continue to blaze away with the snail-gun, despite the incredible ease with which it is dodged.
 * Mass Effect 2 usually averts this with excellent AI. However, a fun way to kill enemies with rocket launchers (on lower difficulties, or if they are the only enemies left, is to simply walk right up to them. They fire their rocket launcher at point-blank range. The resulting backblast will kill them.
 * Squadmate stupidity does happen though, usually with bad cover choices (or none at all). Questionable power usage is a big irritation though, especially since all a character's powers share a cooldown, which is much longer than Shepard's. Jacob is by far the worst offender once his Barrier skill is automatically unlocked, he will usually spam the ability as much as possible if left to the AI, effectively removing his ability to use his offensive powers. Fortunately, there's an option to turn off AI power usage.
 * Most types of enemies immediately take cover at the start of a fight. However, the AI is not particularly picky about WHAT it uses for cover, leading to many enemies attempting to hide behind Explosive Crates.

Pokémon

 * In any given Pokémon game, some rival trainers will repeatedly use attacks like Sand Attack and Harden long after they become useless. At least wild Pokémon have the excuse that they're using an AI Roulette.
 * The trainers who team up with you in Diamond/Pearl/Platinum for Double Battles are almost always unbelievably stupid. I mean...Helping Hand? Seriously? Come on, Marley, Arcanine's got to have something better than that...
 * Since the AI is programmed to use super effective moves, it was obviously not programmed to discount matchup cancelling types. Cue U-Turn on the Dark/Flying Mandibuzz ad nauseam.
 * Ground-type Pokémon use Mud Sport. Thank you for reducing the effectiveness of a type you're already immune to. Granted, moves like Mud Sport become more useful in a Double Battle, but this often occcurs in a regular, single battle.
 * A fun example is Recover. Oh no! My Kadabra/Starmie/Blissey/whatever has just taken 51% of its life in one shot! I'm faster, I can Recover it back. Cue this for another 20 turns or until you critical hit/vary your strategy. This is actually pretty smart, in that the AI wants to win and thus wants you to be forced into Struggle. The easiest way to do that is spamming Recover.
 * In Red, Blue and Yellow, this is because the Zeroth Law of the AI is to always use super-effective attacks. It is possible to beat Lance's final Dragonite using, say, a low-level Tentacruel, because the Dragonite will only ever use Agility (presumably because it latches onto the fact that Psychic is super effective against Poison).
 * Flygon looks like a Flying type; it's an easy mistake for anyone who's never seen one to try and Thunderbolt it. However, in-game trainers will do this repeatedly, in Volkner's Electric-type Gym -- the final Gym, where they should know better, in Diamond/Pearl/Platinum.
 * After confusing your Pokémon, enemies will continue to pointlessly use attacks such as Confuse Ray.
 * Although they might just be doing it to make you waste the item used to heal it with at the beginning of the turn.
 * If another Pokémon uses a stat-raising move, and you prevent it from actually raising them, it will simply repeat the stat-raising move. It's particularily effective if your Pokémon knows Snatch, which steals the stat increase.
 * Magikarp are useless even with Tackle, which they learn at level 15. However, Level 16 Magikarp in game continue to choose Splash. A minor bit of damage is surely better than a move that does absolutely nothing? Even worse, in-game Gyarados can do it too.
 * In R/B/Y, you could sweep through the Celadon Gym with puny Level 5 Grass/Poison Pokémon, because the aforementioned "Zeroth Law" forces every Pokémon in this Grass-type Gym to use Poisonpowder, which your Pokemon is immune to due to being part Poison. Strangely, this isn't the case with the ensuing Gym, which uses pure POISON Pokémon.
 * Some Pokémon have moves that allow them to escape from battles in the wild (Whirlwind, Roar, Teleport). Naturally, these moves are completely useless during trainer battles. The AI will use them anyway (in R/B/Y, at least).
 * From the second generation onwards, it has the effect of switching your team around, forcing you to send out another Pokémon at random. However, they sometimes keep on using it, leading to you, say, having your level 100 swapped out for a level 5 Magikarp, only for that to then get swapped for your level 100, which is then promptly able to finish the job it started earlier.
 * Wild Pokémon in general tend to fit this trope to a T. The most Egregious is when they use Selfdestruct or Explosion against a Ghost-type Pokémon.
 * Or Ghost-type Pokémon insisting on using Curse when they're at half-health or less. Understandable if they chose the move and you're faster than them, but when they go before you...
 * In HeartGold and SoulSilver, the Champion of the Pokemon League (the second most powerful trainer in the game) will regularly get down to his last Pokemon and use Perish Song, which KO's both Pokemon in the battle 3 turns after the attack is used unless they switch out. This would be run of the mill Spiteful AI, except for the fact it will still do this even if you have more than 3 Pokemon remaining, making it impossible for the AI player to win.
 * In Pokémon Trading Card Game for the Game Boy, the AI, even at its highest level, doesn't understand a stall deck. It will only retreat to dispel status effects or to save important Pokémon with Pokémon Powers.
 * Murray, the Psychic-type Gym Leader of the game, has a deck that has the trappings of a stall deck, with one major flaw. His deck contains mostly Chansey, a card with a ridiculous amount of hit points and a move that allows it to negate any damage done to it, and Alakazam, a card with the ability to transfer damage points from one card to another, meaning that even if you manage to damage Chansey, the damage would probably just vanish. Sounds good, except that the major flaw is the deck also contains the Professor Oak card, a card that will make the user discard their hand and then draw seven cards from their deck. This results in Murray often losing by stalling himself out. Murray's deck also includes Kangaskhan, whose lowest energy attack isn't so much an 'attack' as an ability that lets the user draw an extra card. Murray often plays it early in the match, then uses it to draw an extra card every turn until you KO it for him, going through his deck at twice the speed you do.
 * In the Pokémon Mystery Dungeon series, Gummis increase your Pokemon's IQ, which allows you to enable skills that reduce their Artificial Stupidity. For example, Trap Avoider prevents them from stepping onto already-revealed traps. Granted, you might need to step on a trap, but you can turn off the IQ skill in that case. In addition, you can also disallow the use of certain moves, such as Harden (which they'd otherwise do every single step, and then continue trying to do it once they run out of PP).
 * Of particular note is the IQ skill "Gap Prober", which allows your friend to fire projectiles through friendly units. In order for it to work, though, it must turn off the "Course Checker" IQ skill, which checks for obstacles in the way of attacks, since allies are considered obstacles. However, since walls are also obstacles, you can expect your ally to attempt to attack through walls at nearby enemies until their PP runs out.
 * The "Zeroth Law" of movement for Pokémon in these games is "Follow another Pokémon or wander aimlessly". An ally will follow the hero, other allies, or go after enemies at different priorities depending on what tactics they have set. However, if no other Pokémon are visible, they will head toward a room's exit and wander down halls. This creates the unfortunate effect that, if an ally is a few steps behind you as you exit a room, it could lose sight of you, abruptly turn around, and wander in the other direction. Many horror stories can be told of when this happens to level 5 escort clients.
 * Cresselia when in Dark Crater can take it Up to Eleven, where it can end that at first encounter can be tough but at second it's piece of cake. At least she has skill that makes her evade lava.

Other Games
"I've spent hours planning and synthesising my ultimate magic-using monster. It has high Wisdom, high MP (plus Magic Regenerator, so it recovers MP automatically), and some of the best magic spells learned, Kafrizzle, Kazapple, Kacrackle, etc. It should be perfect. It can inflict around 300-400 damage using its most powerful magic spells. So when I'm in a battle and I have its AI set to "Show No Mercy", what does it do? It uses Sacred Slash. Or Blast Slash. Or any of the other pointless slash attacks, causing around 50 damage per hit. Un-friggin-believable. None of the AI settings I set it to will cause it to do anything else besides that or a normal attack against a single opponent. Because of the stupid skill system, I can't get rid of those slash attacks since they're in the same family as the magic spells (um... why?). I'll be able to lose them once I learn Uber Mage, but that wouldn't be absolutely required if the crackheads who programmed this game realized that it would be best that "Show No Mercy" literally meant "Cause as much damage as possible, dumbass!"
 * In Disgaea 2, it is very easy to kill some enemies without them reacting simply by pelting them with spells from outside their range, because even if you can hit them most enemies don't move unless they can attack that turn.
 * One of the AI's biggest flaws (at least in the first Disgaea) was that they will always go after the weakest character, instead of the most dangerous.
 * But they Shoot the Medic First whenever possible. So the easiest way to quickly level a new recruit up to par is by sending them through an old mission with a high-level Cleric leading the way (and drawing all attacks). Works best when you're leveling spellcasters though.
 * They're also too dumb to pay any heed to damage immunities granted by a character's abilities or elemental affinities, so a Holy Dragon can be an exceptionally good distraction, due to both being a healer, and being immune to all non-elemental special attacks (Which is well over half of the attacks in the game).
 * The item world dungeons avert this somewhat, enemy units will move as long as there is a navigable path to get in attacking range of the enemy (your units, a resident, or a chest). This does lead to the odd quirk where an archer with 4 square range will not move if you're standing 5 squares from where they can attack, only to start moving if you move within that 4 square range, rather than moving closer even when they can't reach in anticipation of attacking you.
 * In the first Disgaea, the computer often friendly fires on its own units when using spells, even when the option not to is available. And on other occasions it will cast healing spells on your own units as well.
 * Based on the way the camera centers sometimes, it seems that the AI sometimes uses the two-target pattern to buff/heal/attack a single unit standing right next to them.
 * Another quirk in the Disgaea games is that the enemy will go after neutral characters first. In the first game, this was only Item World innocents (making this a case of Spiteful AI, as killing them accomplishes nothing but screwing you out of something useful), but in the 2nd this included Chests. If a chest was on an Invincibility panel, they'd spend all their time trying to kill the chest! This made it really easy to kill them.
 * Enemies also tend to ignore Geo Effects entirely. Story maps might allow for them, having characters stay on Invincibility panels for example, when normally they'd pursue you. But randomly generated levels like the Item World also have randomly generated Geo Effects, and these are ignored. Foes will stand on squares that damage their health each round or reduce their stats, attack your party members that are on invincibility panels, completely ignore beneficial spots that would buff them, or even repeatedly heal your units by trying to damage them while on "Reverse Damage" panels.
 * Enemy healers will often heal units with full health if they have nothing better to do, wasting their SP. They will also repeatedly buff units beyond their capacity to benefit from it (buffs do stack in Disgaea, but have an upper limit to their effects).
 * In Summoner, this is almost essential to win in some random encounters. Simply lay down a wall of fire and observe as the AI monsters barbecue to death, staring serenely at the horizon...
 * There is also a Good Bad Bug which allows you to cast offensive spells on certain ally NPCs, who don't seem to notice or care that you're attacking them and, if there are no nearby enemies, may well stand around doing nothing while you kill them.
 * In Shining Force, there are many cases where an enemy will move to a certain spot, then never move from it. Such enemies can be easily defeated by simply hitting them with ranged attacks, even if they'd only have to move one square to trounce the attacking character(s). This was alleviated in the second game.
 * In The World Ends With You, if you have your partners on auto-play, they will always select the middle path of their combo branches. Now, this is all right for Shiki, because her method for gaining Fusion Stars (the Zenner Cards) is completely random. But for Joshua and especially Beat, this can make getting Fusion Stars impossible if you don't take control of them every few seconds, rendering auto-play a liability.
 * Not to mention the fact that they never block.
 * Not to mention that Beat's Fusion minigame is CAPABLE OF HURTING BOTH OF YOU if performed incorrectly!
 * Dragon Age has your allies do some stupid things at first, but similar to Final Fantasy XII, you can give them some rather specific orders to remedy this. Their starting tactics don't work very well, though, especially at higher levels. Namely, warriors and rogues won't naturally think of using a Deep Mushroom when they run out of Stamina because they don't have any tactics telling them to do this.
 * You can beat several ambushes with area effect magic by targeting enemies beyond doors, which can't be opened until after the cutscene triggered by attempting to open the door.
 * Secret of Mana suffers from this with your characters. One problem is, since it was meant to be a multiplayer game as well, is that the characters can only move so far before an imaginary wall blocks them. The AI has a tendency to run into the nearest dead end, forcing you to go back to "unhook" that character. Also, it's probably not a good idea to let them attack, even if you set their AI to aggressive.
 * Kingdom Hearts: 358/2 Days gives us the Invisible, an Ogre-class monster found in the last Agrabah mission. These Heartless have an attack where they disappear, leaving their sword to chase you around the map for a while before reappearing. It's possible to lure the sword past a wall, then roll behind the wall, stand there and let the sword keep trying to fly through the wall towards you until the Invisible reappears and teleports the weapon back to him. It's possible to do this with any of the three or four similar monsters, but it's easiest with the Invisible (one is a fake boss and the other is in Twilight Town, while Invisible's room has one spot perfectly suited to trap the sword).
 * The partner AI in the first and second Kingdom Hearts games is simply abysmal. On top of their tendency to waste all of their magic and skills instantly the moment a fight starts with anything (Donald is the worst in this department; he'll spend all of his MP in 5 seconds flat if you don't disable his attack spells), they also like to just stand there doing nothing for 2/3rds of any given fight. Their pattern is basically "attack, step back, wait 2 seconds, repeat", meaning they take a boatload of hits from enemies since they basically never guard even if you tell them to. Elemental attackers just fire off random spells, often resulting in them casting spells that do no damage on enemies strong against whatever they randomly chose.
 * Of course, it is very important to mention that your main character pretty much does most (if not all) of the work anyways. Despite some allies (Aladdin, Ariel, Peter Pan) having some nice attack abilities that take out a notable chunk of most enemys' HP, you can pretty much wreck their HP in half that time or the boss has so much defense and/or doesn't hold still long enough it's not that useful. (They work best when they make heartless/nobodies stagger and take additional damage from the next hits in the attack; bosses are harder to stagger). They work far more efficiently in short-battles against a lot of Trash Mobs.
 * Some free advice: Go into their menus. Go up to their special abilities and item options and click them to "Only in emergencies". Suddenly, they become a hell of a lot smarter.
 * An enemy example of stupidity is present in Leon/Squall the first time you fight him in the first game. Attacking him head on is risky due to how absurdly high his attack power is for that point in the game, as well how quick his melee attacks are. However, as long you're standing at a higher elevation then him, the only thing he'll do is jump over to you, leaving himself wide open to a combo.
 * Donald can be seen as Artificial Stupidity in Chain of Memories when he does stuff like cast Thundaga three times in a row on Larxene (who is immune to Thunder) or healing Sora when he's at full health, it's more comparable to a random number generator doing it.
 * In the manga, Larxene tricks Donald into doing this.
 * In X-Men Legends, the AI is fairly competent. But they won't dodge, use any shields, and sometimes will just beat down the enemy (even if it's in their best interest to stand back and use their mutant powers). This is really frustrating when they walk off the edge of a bridge to their death.
 * Some very specific mutant powers of some AI controlled party members won't trigger whenever you spam the "call for help" button, forcing you to make some party member switch back and forth.
 * This is not fixed in Marvel Ultimate Alliance. No, Captain America (comics), you can't fly. Stop trying to follow Iron Man across the Bottomless Pit.
 * Persona 3 had some issues with what your AI teammates would or wouldn't do. One particularly loathsome example is their reaction to barrier spells. If an enemy casts a barrier that blocks all physical attacks, your allies will refuse to attack it head on, forcing the player to do it themselves to get rid of it. However, an enemy near the end casts a special barrier that goes away over time instead and attacking it usually means dropping dead on the spot, but unlike before your party doesn't stop attacking. You almost have to physically restrain your party to avoid them killing themselves.
 * Have fun battling with Mitsuru if her tactic is Act Freely. She'll just spam her Useless Useful Spell over and over, even if the enemy is weak to Bufu.
 * Persona 3 actually had some surprisingly intelligent combat algorithms governing your party members- if you scanned an enemy for its elemental strengths and weaknesses your characters would NEVER use a useless attack on that enemy again, and even if you didn't or the enemy was immune to scan (most bosses in Tartarus) they'd learn their lesson after a single failed attack. On the other hand, they were completely oblivious to the nuances of strategy (most obviously that making enemies lose turns is a good thing, causing them to attack enemies who were already knocked down and causing them to stand up again. Mastery of the combat system in Persona 3 was determined by how well you could use the strategy system to railroad their Artificial Stupidity into achieveing the desired goals without screwing up too badly. Fortunately Persona 4 (and later Persona 3 Portable) gave you the option of controlling your entire party manually.
 * The AI will opt to knock down enemies, but only if you give the order.
 * Though even the Tactics Menu is hardly perfect. If you tell a character to heal/support, they will not cure poison on a character if said character is at less than perfect health. They will not heal anyone else, either, even if the poisoned character is at 499/500 hp and another party member is at 1/500.
 * It gets worse than that. The Charm status will drive the AI absolutely crazy : your healers will give Charmed characters absolute priority, even if they are at near-perfect health while non-charmed ones are dying. This is especially aggravating as it might sometimes be better to let the Charmed characters fall unconscious instead of having them healing enemies/attacking allies. Oh, and only VERY RARELY will a Heal/Support AI randomly realize that it is much more efficient to just dispel Charm instead of continously replenishing health.
 * Estelle's AI in Tales of Vesperia is almost universally considered lackluster.
 * Part of the reason for this is that, unlike most other healers in Tales (series) games, Estelle has a lot of offensive artes that require her to be in melee range (In contrast to say, Tear, whose artes are all ranged and her basic attack is ranged, too, so she stays out of the way, or Cheria, who has very few melee-ranged artes). Of course you can and probably should have her orders set to "magic only" or "heal", but she -- like all characters -- will still attack if out of Mana.
 * There's also the problem that Estelle refuses to use ailment curing spells like Recover and Dispel. Instead, she opts to spam First Aid on the afflicted party member.
 * This also becomes ironic though, when Estelle's first instinct with Rita casting some artes that affect an area to bring the enemies into said area.
 * In the PS 1 version of Tales of Destiny, the AI would do ABSOLUTELY NOTHING unless you were standing behind them.
 * In Tales of Legendia, the casters seem to run off of an AI Roulette and their spells seem to be picked by Random Number Generator. This leads to some annoying instances where Will or Norma will use a fire-aligned spell only to have it absorbed, then after saying "Oh that didn't work", use another one or even worse, use it a second time. Grune and Shirley at least have a nice excuse for spamming the same eres attacks because for awhile, Grune doesn't really have any and Shirley learns hers throughout the character quests.
 * Grune however gets rather stupid - during the character quests, for a very long time, she only has one spell: Bloody Howling. It might be the first Dark Eres you have, and given that a lot of enemies in the later parts of the game are weak to it, it's not bad. However, sometime around the last or second-to-last dungeon, she also learns Aqua Laser...which inflicts Sea damage. (Essentially, the equivalent of Holy Damage in this game.) During the Character Quests, you'll have to pretty much turn off all your eres that inflict Curse damage against the curse-aligned bosses because a lot of her spells are sea and curse aligned. (Although plenty of stuff like Absolute and eruption)
 * In Valkyria Chronicles the computer is unable to predict whether it will be able to fire on one of your units with a given one of it's, it will therefore spend actions moving units backwards and forwards along the same path every turn to no effect. Similarly, they also have an unusual tendency rush troops straight into certain death, possibly for want of any other move.
 * In Tales of Symphonia, Raine runs up to an enemy, as if to attack, and then runs away again. Other times she just decides to cast a spell that takes a long time while standing right next to it. "Don't get in my way!"
 * The fighters' pattern of running away after combos is equally incomprehensible and usually just results in the enemy getting a free shot at their backs.
 * This is most likely a holdover from the earlier Tales games, where the simpler mechanics and stupider enemy AI made it so that running away after combos actually WAS effective strategy and indeed necessary to not get killed - enemies tended to fall out of stun just after you made your escape. The semi-auto function in Phantasia and Eternia make the running back and forth action automatic. (They also do this in Tales of Legendia, which is based off of Eternia's battle system)
 * Also, spellcasters in ToS will often fail to retreat before attempting to cast a spell. If they're too close to the enemy, they'll get their spell interrupted, and immediately try to cast it again, getting interrupted every time until they get KO'ed or the enemy is defeated by another party member.
 * Exacerbating this problem is the fact that on many strategy settings, if the spellcasters run out of TP, they'll start running up to the enemy for melee attacks. By itself, this would be reasonable as a successful melee attack restores 1 TP per combo hit, but if they restore sufficient TP, the aforementioned problem kicks in and they start trying to cast a spell standing right next to the enemy. However; plenty of more recent games let the party members use TP-restoring items as needed so that they don't have to run in.
 * Colette. Just Colette. She has the potential to be an Elite Tweak Game Breaker when player-controlled, yet her AI manages to turn her into a punching bag for the enemies.
 * AI controlled characters will often use their super guard when an enemy casts a spell, even when it would be better to move out of the way. Worse, they use it as the spell is cast, so that if the spell has a long animation the effect will run out before the spell hits.
 * In Tales of Phantasia, Mint loves to use Pow Hammer and then Pow Pow Hammer. Honestly you can't blame her; if she's well protected enough she'll have thrown on Acid rain, buffed Cress and Suzu up, long ago so there's almost nothing to do until somebody gets hurt. Of course, this does tend to get annoying if she starts to cast Pow Pow Hammer when someone's running low on HP...and given that she does this on bosses, too, and that bosses are normally immune to Pow Pow Hammer's stun effect. (It doesn't hurt on melees, though)
 * Most Roguelike games avoid using path-finding algorithms for the monster AI since doing so would make the game very slow, meaning that monsters will head for you in a straight line and then stop as soon as soon as they hit an obstacle. If the obstruction is not a wall but something like deep water or a chasm then you can use distance attacks to kill the monster while it just sits there.
 * Also in most Roguelikes a monster with a distance attack which will harm anything between it and the target (like lightning bolts) will use it even if the attack will harm or even kill allied monsters between it and its target.
 * In some of the variants where monsters can use magical items the monsters will prefer to use weak magical items over their more powerful innate magic, like demon lords in Nethack which choose a Wand of Striking over their much more powerful infernal magics.
 * In variants where monsters can flee from their opponent they never analyze their opponent's strength at the start of the fight and decide to flee if the opponent seems too strong, but rather wait until they're almost dead to flee.
 * Quest 64 has some of the worst AI ever seen, to the point that bosses become easier and enemies don't even use all their available attacks.
 * Vagrant Story has the unique condition where its anti-casting technique, Silence, is canceled in the event that a spell of any kind hits you. Similarly, you can afflict most spellcasting enemies in the game with Paralyze, which prevents physical attacks. If you Silence yourself - or let them Silence you - and then Paralyze them, they will more or less stand there and let you kill them, as they're programmed to not under any circumstances break your Silence effect by hitting you with another spell. Similarly, many enemies will refuse to engage you until they've cast all possible enhancements on themselves, and by countering their enhancement spells they'll do nothing but try and cast them, over and over, while you get in free attack after free attack.
 * Because of Vandal Hearts 2's unique turn-based system - where moving each friendly unit is accompanied by the AI opponent moving one of theirs simultaneously - a considerable portion of the strategy involves outsmarting the predictable AI, such as moving a character to attack an empty region safe in the knowledge that the computer will move an enemy unit straight into it.
 * In the 5th and final chapter of Dragon Quest IV, all party members except The Hero are AI-controlled. The AI has multiple settings: the basic mode, an all-out offense mode, a defense-oriented mode, a no magic mode, etc. They all have one thing in common: the AI is deeply stupid. It's commonplace for the AI to have everybody gang up on a single enemy even if one of them alone can kill it that turn (naturally, it will almost always be the monster you choose for the Hero to attack), resulting in everyone else wasting their turn swinging at the now-empty spot in the enemy group's roster. Or cast spells against an enemy who has magical protection in place to bounce them back at you. Or cast that same spell on the party right before the healer casts her own healing spell (with exactly the results you might expect). Worst of all, there's no option to turn off the AI control! At least, not in the original NES version. In the Playstation and Nintendo DS remakes, that flaw is rectified.
 * Your healers also had a tendency to constantly cast instant death spells on enemies rather than healing your party--even if the enemy was immune to instant death. This was doubly annoying also, because some of the dungeons are quite long, and recovering magic points is fairly difficult, so you'd end up having to switch your party to Use No MP mode just so you'd have enough magic to be able to have a few healing spells for the boss.
 * Dragon Quest Monsters: Joker 2 has problems with AI, too. This post from GameFAQs.com's forums says it best:
 * There are a lot of instances in the game where the awful AI wants to make me bash my head against a wall, but this takes the cake. It wouldn't be that much of a problem if it weren't for the Arena and Tournament battles forcing you to only use AI control, so you have no choice but to sit and watch as your usual team of asskickers completely degrade into pathetic, drunken idiots. Still, you would think that because AI control is mandatory they would have spent more than four minutes testing it to see whether or not it actually works correctly, but maybe that's too much to ask."


 * Your party members in Rogue Galaxy have no idea what they are doing. While they won't use MP-cost special abilities without your specific request (unless you have them set that way), and do have the brains to use charge attacks when needed to break enemy shields, the rest of their AI is locked onto Attack! Attack! Attack!. They have never heard of either blocking attacks or getting out of the way. The only setting on which they block is the one that prevents them from doing anything else.
 * Monster Hunter has the monsters set up like Mooks that will beat the crap out of each other because they're too close to one another to get at you, or you're on a ledge, or something similar. Sure, it's easily explained by the monsters in question being only up to the level of intelligence of wild animals, but it makes things easier for you if you use patience and proper positioning, plus it's just fun to watch.
 * Arcanum: Your fellow party members make it a point of ignoring your orders the very next combat encounter, apparantly eager for that summoned Fire Elemental to slaughter them. Magic users will willingly render themselves unconscious by healing technological characters, upon whom their magic has not effect. They also like to stand in doorways, and otherwise cause more damage than the enemy. If any game makes a successful argument for full party control during combat, it is this one.
 * Dario in Chrono Cross. A really challenging Bonus Boss...in a straight fight. He counters every single one of your elements with an element of his own. And therein lies the exploit. He counters most elements with stat debuffs, which would be a severe pain if the counter didn't also count as his turn. So just pelt him with a red, blue, or green element every turn and he'll lower your stats, but never actually attack you.
 * The Green Dragon, similarly. His challenge comes from his tendency to cast Carnivore, a powerful green-elemental spell. But he only casts Carnivore if the entire element field is green. So, if you cast a weak non-green spell every time the field becomes fully green, he'll spend most of the fight casting Green Field. Or, hell, bring a dozen Carnivore traps and go to town.
 * When playing a Forgotten Realms Unlimited Adventures design, it's a good idea to include a paladin in your party, because only then will you be able to control the NPCs that join your party during the game. Otherwise they'll be controlled by the computer with ridiculous stupidity at times, which is especially destructive with spellcasters. For example, casting area damage spells with blatant disregard for your party members' presence next to the target... or casting "Dispel Magic" at enemies (who don't have any magic buffs on them) for no reason whatsoever.
 * Version 1.1 of the game had a Game Breaking Bug where the NPC magic-users would immediately flee the battlefield at the beginning of every combat.
 * Soul Nomad and The World Eaters/Soul Cradle had a great example of this while doing room inspections. It seems rare and only in higher levels, but some enemies will just outright kill their own ally without any specific reason by using a skill.
 * Another good example from the room inspections... two, in fact. Units with a flying leader, such as a Whirwin or Gryphos, will blindly walk over 'visible' minetraps, if that's the room hindrance. Oh, and does the Room Leader have the Anti-matter room? The enemy will target them. Even the game hates Anti-matter!
 * In Dark Cloud, the cannon enemies in the sunken ship will only fire at you from a certain distance away. If you get close to them, they back away. You can back them into a corner, and they'll keep running into the wall, never attacking, while you hack away at it until it dies. Thankfully, this was fixed in Dark Chronicle.
 * Knights of the Old Republic 2 suffers from a pretty faulty AI. One of the most Egregious examples would be an infamous sidequest that involved leading a Too Dumb to Live survivor of a droid attack, out of an abandoned military base. He can't make two steps unless he's facing you directly withing a certain distance for at least a few seconds, and there's nothing between you and him.
 * Enemies in the game have a pretty straightforward way of closing the distance to the player. Usually the most direct, straight-line way possible. A well-prepared player can, therefore, lay out an entire minefield between them and the boss, engage them in battle, and watch as even Jedi Masters charge straight through the explosives and end up getting killed without the player doing anything but standing there.
 * In the old (like, from the 1980s) SSI "Gold Box" Dungeons & Dragons games, the AI was terrible at aiming area effect spells, generally targetting spells directly at whatever they were trying to hit. For spells like fireballs, which hit the target square and everything around it, this was generally effective at hitting all the PCs but also tended to hit any of the spellcaster's allies who were fighting them (and sometimes the spellcaster itself). The stinking cloud spell, however, hit a 2-square-by-2-square area, with the square the spell was targetted at in the upper left corner. This meant that you always wanted to engage spellcasters from their left, so that if they cast stinking cloud on you, they'd invariably get themselves too (whereas if you engaged from their right, they wouldn't). Black Dragons were especially susceptible to this, as casting stinking cloud was always the first thing they did after using their breath weapon. In the edition of D&D used in the games, failing a saving throw (this was back when you made saving throws when hit by a spell) against stinking cloud meant you were helpless due to choking, and could be killed with a single blow from anything. Many Black Dragons died in vain.
 * The AI Stupidity in the SSI D&D games was usually a boon to players, but in Curse of the Azure Bonds the mage NPC Akabar Bel-Akash (a character from the book the game is based on) would join the party. You could control him out of combat, but in combat he was computer-controlled. A smart player would have him ditch any Fireball or Stinking Cloud spells he had memorized and replace them with something else - anything else. Even if you didn't have time for him to memorize new spells, Akabar with no spells was more useful (or rather, less of a liabilty) than Akabar with area-effect spells.
 * In the story mode of Phantasy Star Universe yhe AIs for your Party Members are especially abysmal. Since the game is pretty much designed to be played as an MMORPG, you're unable to access any of their stats or alter their equipment or tactics in any way, and if that's not bad enough, you will lose track of the number of times that they get caught behind stairs, boxes, mild curves in the path and what not. When it comes to actual battle, you will do your best to hold in your rage as you see them offer quite useful tactical advice like "Don't bunch up," or "Engage the enemy in a pincer formation, Mr. Waber," only to either charge in blindly or, even more likely, just hang back and do absolutely nothing for most/all of the fight. There's a reason that doing group timed missions in single player mode is best attempted when you're ridiculously above the required levels for them.
 * Mages in the Baldur's Gate games don't play well with allies, freely dropping fireballs and meteor swarms on them. And then there's Gate, which summons a powerful demon. They do have the sense to cast protection from evil to stop it attacking them. However, because it still qualifies as an enemy, they'll attack it. Sometimes it's possible to just move away and let the two of them get on with, then move back in once the mage has expanded a bunch of their spells killing the thing it just summoned.
 * Even when the mage managed to avoid instantly attacking the Pit Fiend it just summoned, they never, ever, under any circumstance would use Protection From Evil on any of their own allies, which would always result in the Pit Fiend targeting instead of your party.
 * A possibly worse example of Artificial Stupidity was that any allied NPC, whether a summoned monster or someone you'd recruited to help you in a fight, would instantly turn hostile to you if they were caught in the radius of a damage dealing spell that either one of your characters or another allied NPC had used. Even if they were completely unaffected by it. Given that there was one fight where a recruitable NPC used a cursed sword that had a chance of triggering a fireball on his location every time he attacked, it was almost impossible to make it through the entire fight without all the rest of the recruitable allies there turning hostile (casting Resilient Sphere on him, which wasn't considered an offensive spell, was usually the easiest way).
 * Final Fantasy V plays this to your advantage with Apocalypse, one of the end bosses. The guy is technically a Blue Mage, a class that learns certain monster attacks by being on the receiving end of them. One of these attacks is Exploder, which causes the caster to explode and kill itself and do significant damage to the enemy. Usually you travel around the world looking for monsters so you can learn these attacks, but against Apocalypse you can teach him Exploder by casting it... after which he'll eventually decide to use it on you, killing himself and awarding you the victory.
 * This shows up from time to time in Dark Souls, especially in areas with precarious footing like Blighttown. You'll be travelling along when you'll randomly gain souls from some enemy that accidentally fell off a ledge to its death.
 * In Sengoku Rance, the AI will occasionally put warriors in the back where they can't attack and Diviners in the front. Considering how Nintendo Hard the game is, you need to take advantage of any and all blunders the AI makes to win.