-->''Why don't Robot Dogs fall in the pits? It's not really fair.''
-->-''[[WebAnimation/HomestarRunner Duck Guardian One]]''

In videogames, things that do damage to one thing don't always do damage to something else. The damage usually discriminates based on what team you're on. Unfair? Well, [[EverythingTryingToKillYou everything IS trying to kill you]].

'''NPC Invincibility''' - Non-player characters are usually completely immune to ''all'' damage, especially the inhabitants of an [[AdventureTowns Adventure Town]]. Slash them with your sword, and they might duck in fear or yell at you, but that's about it.

'''No Infighting''' - Monsters don't usually damage one another with their attacks. Monster projectiles will explode on contact with other monsters without doing damage, or pass right through them. Monsters usually aren't affected by the hazards of their natural habitat, either.

'''[[FriendlyFireproof No Team Damage]]''' - In a lot of games, Player 1 can't hurt Player 2, and vice versa if they're playing cooperatively. Sometimes there is an option to toggle this behavior on and off. Often, teammates are still susceptible to SplashDamage.

In many, many platform games, enemies will cheerfully walk through anything and everything that would kill you in one hit. This includes "friendly fire" passing through people.

Often but not necessarily a subtrope of TheComputerIsACheatingBastard. SetAMookToKillAMook is an aversion of Type 2.
----
!!As the trope is so prevalent, only exceptions need apply:

[[foldercontrol]]

[[folder: Action Adventure Games ]]

* In ''VideoGame/TheLegendOfZeldaTheWindWaker'', most enemies are capable of harming each other. The Moblins especially come to mind, with their wide 180 spear swing that knocks EVERYONE off their feet.
** A group of Darknuts cease to be much of an issue after circling around them, and coaxing them into attacking one another while stealing items using the grappling hook.
*** It's even easier than that. If Link begins charging for a spin attack, the Darknuts will ready one of their own. This is annoying vs. a single Darknut, since their giant swords out-range Link's, but against a group all Link has to do is release his attack in an isolated part of the arena & watch the enemies simultaneously chop each other down.
** Put back in full force for ''VideoGame/TheLegendOfZeldaTwilightPrincess''. The worst example is the trio of Darknuts at the bottom of the Cave of Ordeals, who clump together into an unassailable wad in spite of their tendency to use wide ground-clearing slashes.
* In the stealthy end section of ''VideoGame/{{Metroid}}: Zero Mission'' where you play as Zero Suit Samus, you can trick Space Pirates into killing each other with their lasers.
** In ''VideoGame/MetroidPrime'', you can actually get metroids to attack Space Pirates in Phendrana Drifts if you break open their containers with missiles from a distance.
* Nearly all the bosses in ''VideoGame/BatmanArkhamAsylum'' happen to [[FlunkyBoss bring along mooks]] but they don't pay attention to their well being. And for some, you can intentionally cause them to flail around wildly and attack their allies.
* The final arc of ''{{Uncharted}}'' features you vs. the bad guys vs. [[spoiler:indiscriminately homicidal zombies]]. Commence MeleeATrois as two out of three sides TryNotToDie.
* Averted in ''VideoGame/PrinceOfPersiaTheSandsOfTime'', near the end of the game. You're facing about 30 enemies, each twice your size, but, because you just got your InfinityPlusOneSword, they are ironically ''too easy to kill'', as they are obliterated before they can fall down, so you can't collect sands from them. This is made even worse by the fact that Farah [[spoiler: just wasted all the sand in your dagger]]. Luckily, they have massive swords and are inconsiderate towards any ally standing near you. You can only get more sand by collecting it from enemies knocked down by other enemies swords.
* Averted in ''VideoGame/TimeCommando'', though it's difficult to achieve and usually more trouble than its worth.

[[/folder]]

[[folder: Action Games ]]

* In ''VideoGame/DevilMayCry 3'' and again ''VideoGame/DevilMayCry 4'' enemies are just as likely to harm each other as well as the player, and in fact the games usually have a type of demon spawn just for the purpose of indiscriminately causing damage, such as the Wraths in 3 or the Blitz in 4. Surroundings that can also harm the player are just as capable in harming monsters as well.
** This goes back to the first game, in fact: one bonus mission requires that you trick one enemy into killing its partner by manuevering it so that it attacks the other enemy by mistake.

[[/folder]]

[[folder: Beat Em Ups ]]

* In ''VideoGame/StreetsOfRage'' the explosives thrown around will hurt the enemies or blow them off their bikes even if you don't pick the enemies up and throw them, thrown knives will hurt the enemy even when thrown by their allies, and enemies who accidentally hit their allies generally get hurt. Also, Mr X has a Uzi in [=SOR2=], and he'll mow down his own henchmen if they get in the way. It makes the fight against him a little easier.
* One of the features that made ''VideoGame/{{Battletoads}}'' so infamous is that players can ''hurt each other'' in co-op mode. And that is more likely than you think. Add to that the fact that during descent levels hitting your partner with a special move (that is the only one that can obliterate enemies standing on the sides) causes them to be [[OneHitKill knocked off the rope]] and that when a player loses all his lives ''both'' players have to restart the level... [[OhCrap oops!]]

[[/folder]]

[[folder: First-Person Shooter ]]

* ''VideoGame/{{Doom}}'' was an unusual aversion of the trope in that the monsters would gladly fight with each other, though the game was carefully balanced so that exploiting this fact would take some skill. For example, the fireball-throwing imps could neither hurt each other with fireballs nor piss each other off that way--but it was possible, if unlikely, for them to strike each other with their claw attacks. "Crossfire" between different ''kinds'' of monsters almost always resulted in the monsters fighting--an imp hitting a ''demon'' with a fireball, for example, would soon have a large pink horned shaved gorilla-thing in its face and trying to chew it off.[[note]]There are two exceptions to this rule, however. First: the Baron of Hell from the original game and the Hell Knight in the second are hard-coded against normal different-species infighting rules, since the latter is basically a [[DegradedBoss half-strength]] PaletteSwap of the former. Second: monsters that are hit by an Arch-Vile's attack will ''never'' retaliate.[[/note]] Even the novels made use of this, and one of the characters (the more well-read of the two main characters) called it the Iago tactic. Granted, the enemies are basically the embodiment of murder, death and pain, so they would fight each other.
** Also works in ''VideoGame/{{Quake}}''.
** In earlier versions, if a monster accidentally damages itself with the splash damage from an exploding barrel, they'll try to fight ''themselves'', ripping themselves to shreds if they can perform melee attacks or just going berserk if they can't. It was a bug though, and was later fixed.
** This can lead to [[http://www.youtube.com/watch?v=O_GM3xjDVVo some crazy]].
* The ''VideoGame/{{Turok}}'' games functioned the same way, with monsters fighting each other if you could trick their attacks into hitting a monster of another type. It worked great when there was a mixture of close range dinosaurs and long range humans, since as soon as some human bullets hit the raptor, both ceased being your problem for a little while.
** This was even a huge selling point of the most recent one, with various ways to make dinosaurs go after humans.
* ''VideoGame/{{Marathon}}'' was another game where the Pfhor enemies would easily "berserk" each other even with their ranged attacks - in fact, the [[SelfImposedChallenge Fists Only]] runs would often rely on this strategy; gather the enemies into a swarm, move in and punch a couple of time, then back off while the overzealous enemies tear themselves to bits.
** Also, due to the story of the game (the Pfhor are slavers who brutally rule other races), there were many cases in the series of enemies such as Flick'ta attacking the Pfhor without you even having to cause it.
* In ''VideoGame/{{BioShock|1}}'', the Big Daddies will go after ''anyone'' who attacks them or the Little Sisters they are protecting.
** Not to mention the wide variety of Plasmids that allow you to turn Rapture into your own personal playground. Get that camera on your side from long range so the security system sends a drone after bad guys. Enrage a splicer into attacking a Big Daddy for you. And my personal favorite: use the Big Daddy Bodyguard plasmid to trick a Big Daddy into thinking you're a Little Sister. Suddenly, anyone that attacks you gets ''massacred''.
* In ''VideoGame/{{Borderlands}}'', Raiders will attack any monsters and vice versa. They don't even wait for you to instigate. You can also kill yourself with explosions you instigated with rockets, grenades or shooting barrels. On the other hand, non-combat [=NPCs=] are incapable of being hit by attacks (shoot at them, it just hits the environment behind them.) and you are incapable of harming your allies (aside from shooting explosive barrels and catching them in the explosion).
* In ''VideoGame/{{Unreal|I}}'', it was possible to have different monster types get into combat by positioning yourself so they ended up attacking each other.
* ''VideoGame/Left4Dead'' doesn't have friendly fire disabled for the infected, so special infected can wind up slashing each other if they get too close to each other. However, their special attacks such as the Boomer's vomit or the Smoker's tongue grab won't affect the zombies. Tanks are extremely dangerous for infected friendly fire since their punch or rock throw can kill a zombie in one hit and can cause the same hilarious result if they punch a car or forklift towards their allies. The Boomer's explosion can actually stumble infected if they are too close, but like the survivors they suffer no damage. The Witch, before patches, could actually be lead to survivors by an Infected player attacking her and then running away, even though neither they nor she could damage each other; this was changed so that Witches do take damage from Infected players attacking her and refuses to react.
* The AI in ''VideoGame/{{Thief}}'' are capable of harming each other, though it's very tricky to get them to do so. A bowman accidentally hitting a swordsman won't cause the two to become hostile to each other. Though there are also several different "teams" than an AI can be set as (Ally, Monster, badguy-1, 2, etc) which can dictate how an AI will react to the player or other AI. For instance, a human will always attack a Zombie or Giant Spider on sight.

[[/folder]]

[[folder: Hack and Slash ]]

* The Demons in ''{{VideoGame/Gauntlet}}'' can harm non-demon enemies with their fireballs... but unlike ''VideoGame/{{Doom}},'' this won't lead to the other enemies attacking them.
* ''VideoGame/{{Magicka}}'' does not discriminate at all, especially since MagicAIsMagicA. The players and the enemies can just as easily damage themselves as each other, which is part of the [[EpicFail hilarity.]]

[[/folder]]

[[folder: Maze Game ]]

* A major element of strategy in ''VideoGame/{{Bomberman}}'' is learning how to not accidentally kill yourself with your own bombs. An all-too-common source of YetAnotherStupidDeath is locking yourself into a one-block space next to a bomb.

[[/folder]]

[[folder: [=MMORP Gs= ]]
]
* Averted (thankfully!) in ''VideoGame/DungeonsAndDragonsOnline'' where luring enemies into traps is a very effective strategy for non-tanking types. (And trap damage also scales for them with difficulty setting)
* ''VideoGame/RuneScape'' has aversions of all three types.
** Type 1 is played straight for key [=NPCs=] like shopkeepers and quest characters, but cities tend to be filled with people and guards you could [[VideoGameCrueltyPotential freely slaughter]].
** Type 2 is almost never played straight. The most famous example is the God Wars Dungeon, where many powerful and rare monsters [[MeleeATrois fight to their deaths]] and players only need to hit once to receive the drop. Monsters are usually immune to the local terrain, but some {{Puzzle Boss}}es averts it.
** Type 3 is mostly played straight for more "organized" minigames, although there tend to be some LoopholeAbuse (players often utilize these to kill bots; ah, sweet justice). Averted by the likes of Bounty Hunter and the Wilderness, which are meant to be unpredictable, backstabbing free-for-alls.

[[/folder]]

[[folder: Platformers ]]

* Just about all of Insomniac's games (The [=PS1=] ''{{Spyro}}'' games, ''RatchetAndClank'', ''VideoGame/{{Resistance}}'', etc.) avert the "no infighting" rather spectacularly. In fact, they make it the main point of some things: In challenges where you must conserve your ammo in ''Ratchet and Clank'', it's a very good idea to lure the enemies into killing each other by accident instead of wasting your ammo; there's also a weapon in the third installment that specifically makes enemies attack each other.
* In ''VideoGame/WarioLandShakeIt'', every single thing in the environment that can hurt Wario will instantly kill any enemy that touches it. To add to this, in some stages, there are actually missions saying to use one of these obstacles to kill a certain amount of enemies. And even more so, some things only hurt the bad guys, such as being crushed flat between a column and the floor/ceiling (Wario only gets somewhat flattened without taking any damage) and ''water''.
* Usually played straight in the ''SuperMarioBros'' series, with the exception of enemies that can launch themselves spinning at you (Buzzy Beetles on ceilings, for example). Often, they'll end up taking other enemies out whether or not you "repurposed" them.
* Freeware game ''VideoGame/{{Iji}}'' avoids this as well--the two alien species actually prefer killing each other to attacking the player. They are, however, immune to friendly fire (but not splash damage)--unless their HumongousMecha go crazy and start firing on their allies.
* Dark Titans in ''SonicUnleashed'', unlike just about everything else in the game, can and will barrel through anything in sight to get to you, including allies. [[BossInMookClothing This is the only good thing about them]]. Some bosses have similar tactics.

[[/folder]]

[[folder: Puzzle Games ]]

* ''VideoGame/{{Braid}}'' mostly avoids the "no infighting" rule: environmental hazards do not discriminate between Tim and his enemies, and enemies can GoombaStomp each other. They don't go out of their way to fight each other, though.
* In ''VideoGame/{{Portal}}'', you can trick the turrets into shooting each other with some effort. [[TheDevTeamThinksOfEverything The designers even thought of this,]] since the turrets being hit will tell the other to "stop shooting!". [[FriendlyFireproof They only damage]] ''[[FriendlyFireproof you]]'', however.
** Although they will knock each other over. There is even an achievement for arranging this.
* ''VideoGame/ClockWerx'' admits up front that "most objects in the game that are dangerous to you are harmless to enemy clock hands."

[[/folder]]

[[folder: Real-Time Strategy ]]

* ''VideoGame/{{Myth}}: The Fallen Lords'' and its sequels didn't use it either. A grenade that took a wrong bounce could easily damage your own units.
** Ditto for any launched or thrown projectile, such as spears and arrows. A skilled player, however, can trick enemies into destroying their own units.
* In ''TotalAnnihilation'' your projectiles will pass harmlessly through your own units, but not your teammates' units. And your own units can still take splash damage if the weapon hits close enough.
* Both played straight and averted in ''StarCraft'' -- attacks from some units that normally do splash damage, such as Reavers and Firebats, will not damage your own units, but damage from other sources such as your own Seige Tanks will.
* Averted in ''[[CommandAndConquer Command and Conquer: Generals]]''. Superweapons, splash damage and residual effects such as fire and toxins will damage your own units, and the GLA mobs can have individual people crushed by your vehicles.

[[/folder]]

[[folder: Roguelike ]]

* In ''[[TroublesOfMiddleEarth ToME]]'' it is possible to kill friendly quest-relevant {{NPC}}s with ranged attacks although you always "stop yourself" if you try to hit them in melee. The NPC will always resurrect immediately with no harm done. Rescuing a princess from monsters with blasts of area magic that kills the princess herself several times over is therefore a perfectly valid tactic. However, if you manage to get an NPC buried in rock with an earthquake, they are gone for good... until you leave the level and return.
** Also, [=NPCs=] are not affected by traps, neither are you by your own traps (which affect monsters, of course).
* Traps in ''{{Nethack}}'' do not discriminate. Many a corpse of a NPC Dwarf, Gnome, or Halfing can be found in pits in the Mines level, and many an adventurer has been saved by the same falling-rock trap that killed their pet.
** Enemies won't deliberately attack one another unless you are magically "causing conflict", but they can hit one another with arrows or magic beams while aiming for you - the black dragons in particular can devastate vast swathes of enemies with their disintegration breath if you happen to be able to survive the blasts yourself. And if you are wearing a cloak of displacement enemies will think you're in an adjacent square most of the time - and may attack a monster in said square by mistake.

[[/folder]]

[[folder: Role-Playing Games ]]

* In the ''VideoGame/{{Fallout}}'' games there's always a chance of the member of one party hitting the member of his own party or another party in crossfire, posing a further chance that the parties will in-fight, or previously neutral parties will join in with the bloodshed because a stray bullet hit them. As every ''VideoGame/{{Fallout 1}}'' player knows, you do not stand in front of Ian whilst in combat.
** Sulik took up Ian's baton with relish in Fallout 2, proving capable of hitting you with an SMG burst [[UpToEleven even if you were standing behind him.]] Just give him a Super Sledge and save yourself the facepalming.
** In ''VideoGame/{{Fallout 3}}'' you can get sneak attack criticals on your allies if they're distracted by an enemy, and also hit them in VATS (which you cannot cancel once initiated) when targeting enemies. Especially troublesome with Dogmeat, who frequently jumps up to head level to attack. This isn't helped by the game's [[HitboxDissonance interesting hitboxes]].
** One quest in ''VideoGame/{{Fallout 2}}'' - protecting Grisham's brahmin cattle - stands out in terms of messed-up faction scripting. The wild dogs will intially ignore you and go for the cattle, but if a dog takes damage from your team they attack you instead. If you accidently hit a brahmin, the herd won't turn hostile as you'd expect... but your companions will decide that the herd is on the hostiles list and start decimating it, even ignoring the dogs to do so. Since you receive less pay for each lost brahmin, you'll reload the game a lot. That, or leave your party behind for a while.
* In ''VideoGame/TheElderScrollsIIDaggerfall'', it isn't possible to kill plot-related characters because of the different types of [=NPCs=] employed. In ''[[VideoGame/TheElderScrollsIIIMorrowind Morrowind]]'', you're able to kill for good every single NPC in-game, which can render the game unbeatable even through the "backdoor route" if you're unfortunate enough to kill the exact wrong two [=NPCs=] at the wrong time. In ''Oblivion'', on the other hand, returns to TES tradition by making plot-relevant [=NPCs=] be knocked unconscious if you try to kill them, only to get up a few seconds later and wander around.
** ''[[VideoGame/TheElderScrollsIVOblivion Oblivion]]'' averts No Infighting as monsters that don't get along will actively fight to kill each other.
*** In addition, traps meant for you may be sprung on monsters with the proper positioning and timing, particularly in the Oblivion Gates. Harrada plants will indiscriminately attack foes, firebombs on the ground can be shot with a bow as the enemy runs past them, foes may be lured through spike traps, knocked backward into lava, off a balcony, off the narrow spiral ramp going up parapets, [[VideoGameCrueltyPotential caught in the Corpse Crusher]]...
*** The guards will attack people that they see attack you, and [=NPCs=] can sometimes even be caught by the guards stealing and then killed by the guards. There's a video of this on youtube somewhere.
** ''[[VideoGame/TheElderScrollsVSkyrim Skyrim]]'''s enemies will routinely fight each other as well. For instance, if you're fighting a bear when a dragon attacks you, there's a good chance the bear will start attacking the dragon instead. Bandits will also assist in bringing down a dragon even though they were trying to kill you just prior. Dragons may also attack other dragons.
* In ''VideoGame/MonsterHunter'', monster attacks can damage other monsters, leading to amusing situations involving a [[OurDragonsAreDifferent Rathalos]] dying from a random raptor attack. Occasionally, they'll outright fight one another, but more often than not, everything assumes the player to be the bigger threat they should attack causing them to attack you and nothing else [[EverythingisTryingtoKillYou even when they were hit by another monster]] or when they should be running from [[TooDumbToLive the dragon that just launched a fireball at them or a giant crab who keeps running over them]].
** That is rather justified since the player character poses much more of a threat to the dragon than a few velociprey or even a velocidrome.
* In ''BlueDragon'', certain scenarios will spark a "Monster Fight" that makes some of the toughest monsters in the area terribly weakened-- often by another tough one, who won't attack your party until it's dealt with the target of its envy/hatred.
* In the 3D MightAndMagic games, different types of enemies would often fight with each other in the overworld and in dungeons, often to the point of completely ignoring your party unless you first provoke them.

[[/folder]]

[[folder: Third-Person Shooter ]]

* In ''GearsOfWar 2'' multiplayer, your grenades and bullets don't hurt your team-mates, but your grenades and splash damage weapons can kill you. This is a fairly standard version of "no friendly fire" for multiplayer shooters.
** Of course some people posit that multiplayer would be improved by having friendly fire always turned on.
* In ''VideoGame/TeamFortress2'' this is a necessity since the spy can disguise as members of the enemy team. The only real way to discover spies is by shooting/flaming suspicious teammates to see if they take damage.
** Soldier rockets and Demomen stickies/grenades hurt/fling the launcher and enemies but not allies. For a while after launch, servers were not allowed to turn friendly fire back on. This also applies in a unique way to the Engineer: his sentry rockets AND bullets damage him (Spies can exploit this, although it's risky).
** The original Team Fortress (and other Quake or UT engine games of the era) had a large number of "no friendly fire" modes. In some of them, you couldn't hurt friendlies at all. In some, you could damage just their armor (which could devastatingly weaken a Soldier or HWG, whose main toughness advantage came in their armor). In some, [[HostageSpiritLink YOU would take any damage you inflicted on friendlies]], or take a percentage of it. Of course, you could also turn friendly fire on.

[[/folder]]

[[folder: Turn-Based Strategy ]]

* The spells and some of the long range techniques in ''FinalFantasyTactics''. Whoever's standing in the target tiles will get hit, whether they're friend or foe, and it's possible to put your own characters in the path of a charged long range attack, like Aim, and get hit in place of the enemy. Summons are the exception, never healing enemies or harming allies, but since they're actual beings coming to your aid, it makes some sense.
** The only things in the sequels that discriminate are totema/scions and illusionist abilities. Even the summons will hit your characters.
* The field damage-causing tiles in ''Franchise/FireEmblem'' can hurt enemies and allies fine. That's bad, as it means robbing you of valuable experience points.

[[/folder]]

[[folder: Tabletop Games ]]

* ''TabletopGame/DungeonsAndDragons'' generally averts this, but not always - some spells and powers affect everything in the area, while others affect only enemies. It's also possible for both players and enemies to get creative and use attacks which their allies are immune to or even ''healed'' by ([[ReviveKillsZombie using a positive energy spell against undead]] being the most common example). There are also some Feats or other abilities that allow selective use of this trope, such as a fourth edition Feat to allow Dragonborn (humanoid dragons) to use their elemental breath without fear of harming allies - instead giving them a bonus to hit!
** Similarly, 3.5e's Dragonfire Adepts have the Endure Exposure spell, which makes a creature immune to their {{Breath Weapon}}s for 24 hours.

[[/folder]]

[[folder: Live Action TV ]]

* In a non-video game example, ''Series/KamenRiderOOO'' has a pair of {{Finishing Move}}s that cause collateral damage that is magically repaired afterwards. His sword attack causes a DiagonalCut to everything in front of him, but then everything except the MonsterOfTheWeek repairs. His [[MightyGlacier Sagozou]] finisher causes an earthquake that sucks the enemy into the ground and drags them over to OOO for the finishing blow, but the ground heals afterwards.
----