User:Irismus/SandboxPage

Buildings are a type of unit that is not controlled by any player. At the beginning of each game, a set of buildings spawn at set locations for both teams. Both factions have the same set of buildings, with only their appearance differing from each other. Buildings take mostly defensive roles and are the main objective of the game.

All buildings have the same base properties. They are immune to most abilities and can be only affected by a few abilities. They are and immobile.

When destroyed, some buildings grant a team bounty, and some grant bounty to the player who made the last hit. A building with less than % of its max health can be denied, to reduce or prevent the enemy team from obtaining gold bounties. However, only the Ancients cannot be denied.

Buildings do not grant experience. Once destroyed, a building is permanently lost and does not respawn.

There are a total of 29 buildings for each faction.

Backdoor Protection


Backdoor Protection is a passive ability almost all buildings have. The only exception to this are Outposts and Fountains. The illusion attack damage reduction of is independent of 's illusion damage reduction.

While active, Backdoor Protection reduces the incoming damage received while healing the building based on the damage dealt by enemy units, making them difficult to destroy. The ability deactivates itself when an enemy lane creep moves within the deactivation radius, Dominated creeps do not deactivate this ability. Once deactivated, Backdoor Protection takes some time for the ability to activate again. It is also important to note that Backdoor Protection is not responsible for the innate invulnerability buildings have before the lower tier tower preceding it in its lane is destroyed.

There are currently four areas that deactivate Backdoor Protection, and each of them functions independently of the other.

The Ancient has a deactivation radius, granting Backdoor Protection to all buildings inside the base, excluding the Fountain.

Each has its deactivation radius. When one of them is disabled, the others are not. The Tier 2 Towers' Backdoor Protection is also independent of the Ancients' Backdoor Protection.

Backdoor protection is not responsible for the invulnerability buildings have, so the buildings still stay invulnerable if their corresponding towers are not destroyed first.

Towers
Towers are the main line of defense for both factions, attacking any non-neutral enemy unit that gets within their range. Both factions have all three lanes guarded by three towers each.

Additionally, each faction's Ancient has two towers as well, resulting in a total of 11 towers per faction. Towers come in 4 different tiers:
 * : located at the end of each lane.
 * : located halfway through each lane.
 * : located on top of the 3 ramps at each base.
 * : located in pairs in front of each Ancient.

All Towers have an innate invulnerability before the lower tier tower preceding it in its lane is destroyed. are invulnerable before the game begins. Barracks do not have to be destroyed to make vulnerable. Both Tier 4 Towers must be destroyed to remove the Ancient's invulnerability.

Towers of all tiers have the same following attributes:
 * Have within  radius.
 * Have 0 health regeneration.
 * Have a  daytime vision range.
 * Have a  attack range and  projectile speed.
 * Have a  attack range and  projectile speed.

Tier Difference (Towers)
The different attributes per Tier are listed as below: {| class="wikitable mw-datatable" style="width:100%; text-align:center;" ! class="header" width="15%" | Building ! class="header" width="17%" | Health (Deny Health) ! class="header" width="17%" | Armor ! class="header" width="17%" | Attack Damage ! class="header" width="17%" | ! class="header" width="17%" | Vision Range
 * ‒ ( DPS)
 * }
 * ‒ ( DPS)
 * }
 * ‒ ( DPS)
 * }
 * }
 * }
 * }

Attack Priority
All Tower attacks use the same mechanic as auto-attacks unless is active. When multiple enemy units engage the tower, it naturally targets the first enemy within its attack range and stops attacking the target when the attacked unit is dead, getting out of its attack range or the unit becomes attack immune.

Once that happens, the tower has the following priority when choosing its next target:
 * 1) Closest enemy unit attacking the tower itself
 * 2) Closest enemy unit attacking an ally of the tower
 * 3) Closest enemy unit
 * 4) Wards
 * 1) Wards

All units are treated equally regardless of their unit type. Siege Creeps and wards have the lowest attack priority and are always attacked last. If a tower attacks one of these units, and then another unit or hero comes within range, the tower immediately switches to the new unit. Siege Creeps have a higher priority than Wards.

There are also two additional scenarios where the tower switches its attack target immediately:

The tower switches to the enemy hero upon the enemy's attack order on an ally hero within 500 radius of the tower. This only works against regular attacks of enemy heroes and does not require the attack to finish or complete (i.e. dealing its attack damage on the ally hero). Neither considers instant attacks nor manual casting active attack modifiers as an attack for this scenario.

On the other side, if the currently targeted enemy unit is ordered to attack its ally, the tower immediately switches its attack priority to another unit, using the aforementioned priority above. Enemies can de-aggro the tower only once every 2.5 seconds by using this technique. If the tower has already started its attack on a unit, it will finish that attack regardless. It is impossible to cancel the tower's attacks by changing its aggro. The attacks can only be canceled when its current target cannot be attacked anymore.

Both scenarios above are akin to the lane creeps' behavior, which triggers the same attack priority.

Tower Bounty
All 3 types of Tower Bounty grant unreliable gold. Turbo Mode has a building bounty multiplier of 2.

Grants the following amount of bounty in certain conditions:

Barracks
Barracks (commonly shortened to Rax or Racks) are buildings, defended by and located behind in each respective lanes. Barracks do not have to be destroyed to make vulnerable.

There are two types of Barracks on each lane per faction — the Melee Barracks for  and the Ranged Barracks for. The Ranged Barracks are always located to the left of the Melee Barracks on each lane for both factions.

Only Melee Barracks have a base  health regeneration. Ranged Barracks do not regenerate health.

All Barracks have the same following attributes:
 * A daytime and nighttime vision range of  and.
 * Cannot attack and do not have True Sight.
 * Can be denied at % max health — and  health for  Melee and  Ranged Barracks respectively.
 * Cannot attack and do not have True Sight.
 * Can be denied at % max health — and  health for  Melee and  Ranged Barracks respectively.

Lane Creep Upgrades
Barracks are invulnerable until their respective defending them is destroyed. The loss of Barracks does not prevent lane creeps from spawning but upgrades the respective lane creeps of the team who destroyed the corresponding lane's Barracks. The lane creeps upgraded are more powerful, and grant lesser bounties than regular lane creeps. When all 6 Barracks of a team are destroyed, the lane creeps are further upgraded again.

The lane creeps' upgrade progress is as follows:

Barracks Bounty
All 3 types of Barracks Bounty grant unreliable gold. Turbo Mode has a building bounty multiplier of 2.

Grants the following amount of bounty in certain conditions:

Ancients
Ancients (also commonly referred to as Thrones, or Tree for 's ancient and Throne for 's ancient, as legacy names from DotA) are massive structures found inside each faction's base and are the game's main objective. In order to win, the enemy team's Ancient must be destroyed, while the team's own Ancient must be kept alive.

Ancients are guarded by two and both of them must be destroyed to remove the Ancient's invulnerability.

Both Ancients have the same following attributes:
 * Have a  daytime and  nighttime vision range.
 * Cannot attack.
 * Have a within.
 * Have health regeneration
 * Have a within.
 * Have health regeneration

Fountains
Fountains are buildings located in the respawn areas of both bases, and provide scaling health and mana regeneration to all allied units near it. They also greatly defend the spawn area, blasting intruding enemies with very rapid high-damaging attacks, which grow stronger with each blow, have 25% accuracy, dispel consumables, and disable Blink Dagger, Heart of Tarrasque and other abilities that are normally disabled by player-based damage. Fountains use the same attack priority system as towers, except that they cannot be aggroed immediately by attacking an enemy hero. Fountains are permanently invulnerable, so they can never be destroyed.

Both fountains have a vision range of during the day and  during the night and can attack. Additionally, they have True Sight in a area around them.

Effigy Buildings
In addition to the above buildings, there are other buildings that act as buffers within a base, called Effigy Buildings, or Filler Buildings (although they are just named Building in-game). These buildings exist only to occupy enemy creeps before reaching the tier 4 towers or the Ancient, and therefore give the defending players more time to act. There are 7 such buildings in each base, spread evenly around the Ancient.

Five of the seven Effigy buildings (the 5 forming a half-circle around the Ancient) are customizable with Effigy Blocks, giving them a different look and making them display a text notification when destroyed. This has purely cosmetical values and does not alter them in other ways. Each player can customize one of the five Effigy Buildings in their base.

All effigy buildings have a vision range of during the day and  during the night. They cannot attack, have no special abilities and have no True Sight.

Radiant's buildings have two different models, while the Dire have one model for all.

Outposts
Outposts are buildings located within the primary jungles of both teams, close to the small neutral creep camps on the highground - West from the camp in the Radiant jungle and East from the camp in the Dire jungle. Outposts start out belonging to the team on their side, and can be captured by the enemy after destroying a tier 2 tower. Taking back a stolen outpost can be done without having to destroy an enemy tier 2 tower.

Outposts have a ground vision range of during the day and  during the night. Additionally, they have True Sight in a area around them. The vision and True Sight are only granted to the controlling team. Holding ALT displays the vision range, regardless of which team the outpost belongs to. The outposts are always visible through the fog of war, no matter whom they belong to, so capturing them can be easily noticed by the other team, as its animations are visible, and the sound is audible. When under control, outposts can be teleported to with and, although with a lower teleport radius and a longer channeling time. Losing control of an outpost while channeling a teleport does not cancel the channeling.

Although attackable by non-hero units, and targetable by spells that affect buildings, outposts cannot be damaged at all, so they are undestroyable.

Glyph of Fortification


Glyph of Fortification (or Glyph in short) is an ability usable by any player that causes all friendly buildings and lane creeps to become impervious to damage for a short duration, while also granting Towers above a multishot attack, allowing them to attack multiple enemies at the same time.

The effect has a rather low duration and very high cooldown, making the timing of usage very important. The Glyph is used strategically to stop enemy pushes or slow them down long enough to organize a defense. It may also be used offensively to secure a push by granting the creep waves damage immunity at the right time, or even for finishing enemies off by using the multishot attacks.

The Glyph of Fortification can be activated by any player with a button at the right of the minimap or a Hotkey defined in the settings. The Glyph's cooldown is shared by the entire team, meaning if one player uses it, it goes on cooldown for all players of the team.

Glyph Trivia

 * In DotA, Glyph grants friendly buildings spell immunity and 9999 armor, instead of 100% damage resistance like in Dota2.
 * This means physical attacks still did 1 damage to them, since 100% physical damage resistance cannot be achieved with just armor, and the game rounds damage numbers to full numbers.
 * This also means that fortified buildings cannot be targeted by some abilities which otherwise could target them.
 * In earlier versions of DotA, Glyph did not grant spell immunity, and skills such as could deal damage through it.

Abilities Affecting Buildings
The following abilities can target or damage buildings. Hero abilities that deal physical attack damage are reduced by as well as standard armor value reductions.