<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://staredit.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nekron</id>
		<title>Staredit Network Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nekron"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Special:Contributions/Nekron"/>
		<updated>2026-04-10T01:40:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Death_Counters&amp;diff=613</id>
		<title>Death Counters</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Death_Counters&amp;diff=613"/>
				<updated>2019-05-17T19:38:50Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Switch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Death counts''' are unsigned 4-byte values that keep track of how many times a given [[unit]] had been killed for each player.&lt;br /&gt;
When a unit is killed (by another unit, not by a kill trigger), 1 is added to the death count of that unit for whatever player owned it. All death counts for all players start at zero.&lt;br /&gt;
&lt;br /&gt;
The Deaths condition can be used to detect how many deaths a player has for a unit. The Set Deaths action can be used to modify the death counts. Map makers can use these counters for a variety of things other than just detecting when units get killed. They can be used to store game variables, such as the level in a defense map, or character HP in a RPG map.&lt;br /&gt;
&lt;br /&gt;
They can also be used as a timer. Death counter timers are a commonly used alternative to wait actions. Used in conjunction with [[Hyper Triggers]], Death counter timers are far more useful and flexible than wait actions. The number of death counts available to map makers is very high; one for each unit for each player 1-8.&lt;br /&gt;
&lt;br /&gt;
==Counter control==&lt;br /&gt;
&lt;br /&gt;
Unless you are using a death counter to actually detect when a unit is killed, your [[triggers]] should have absolute control over the value of the death counter. To do this, make sure that the unit can't actually be killed in your map.&lt;br /&gt;
&lt;br /&gt;
The following units can never be killed, the only way their death count will change from zero is if you use the Set Deaths action. Many of these units can't be used in a map at all.&lt;br /&gt;
&lt;br /&gt;
 Goliath Turret&lt;br /&gt;
 Tank Turret(Tank Mode)&lt;br /&gt;
 Nuclear Missile&lt;br /&gt;
 Alan Schezar Turret&lt;br /&gt;
 Edmund Duke Turret&lt;br /&gt;
 Edmund Duke Turret&lt;br /&gt;
 Tank Turret (Siege Mode)&lt;br /&gt;
 Scanner Sweep&lt;br /&gt;
 Unused - Cargo Ship&lt;br /&gt;
 Unused - Mercenary Gunship&lt;br /&gt;
 Map Revealer&lt;br /&gt;
 Disruption Web&lt;br /&gt;
 Unused1&lt;br /&gt;
 Unused2&lt;br /&gt;
 Uraj Crystal&lt;br /&gt;
 Khalis Crystal&lt;br /&gt;
 Unused Zerg Building1&lt;br /&gt;
 Unused Zerg Building2&lt;br /&gt;
 Unused Protoss Building1&lt;br /&gt;
 Unused Protoss Building2&lt;br /&gt;
 Khaydarin Crystal Formation&lt;br /&gt;
 Mineral Field (Type 1)&lt;br /&gt;
 Mineral Field (Type 2)&lt;br /&gt;
 Mineral Field (Type 3)&lt;br /&gt;
 Cave&lt;br /&gt;
 Cave-in&lt;br /&gt;
 Cantina&lt;br /&gt;
 Mining Platform&lt;br /&gt;
 Independant Command Center&lt;br /&gt;
 Independant Starport&lt;br /&gt;
 Independant Jump Gate&lt;br /&gt;
 Ruins&lt;br /&gt;
 Kyadarin Crystal Formation&lt;br /&gt;
 Vespene Geyser&lt;br /&gt;
 Zerg Marker&lt;br /&gt;
 Terran Marker&lt;br /&gt;
 Protoss Marker&lt;br /&gt;
 Zerg Beacon&lt;br /&gt;
 Terran Beacon&lt;br /&gt;
 Protoss Beacon&lt;br /&gt;
 Zerg Flag Beacon&lt;br /&gt;
 Terran Flag Beacon&lt;br /&gt;
 Protoss Flag Beacon&lt;br /&gt;
 Dark Swarm&lt;br /&gt;
 Floor Hatch&lt;br /&gt;
 Left Upper Level Door&lt;br /&gt;
 Right Upper Level Door&lt;br /&gt;
 Left Pit Door&lt;br /&gt;
 Right Pit Door&lt;br /&gt;
 Start Location&lt;br /&gt;
 Flag&lt;br /&gt;
 Psi Emitter&lt;br /&gt;
 Data Disc&lt;br /&gt;
 Khaydarin Crystal&lt;br /&gt;
&lt;br /&gt;
All of these units are either always invincible, or they crash when you place them on the map, or crash when killed, so they are good units to use for death counters. In the case of the Start Location, they can be placed on the map as units, and can be attacked and killed, adding one to the death count, but anyone who views this event will crash.&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
&lt;br /&gt;
Any type of counter can be used as a timer, but using a death counter is the most common method, because there are many available for use. To use a counter as a timer, you must first determine how long you want it to wait.&lt;br /&gt;
This type of counter is based on how often the triggers execute. If you are using hyper triggers on fastest, the counter will change 12 times per real-time second (the exact number is 1 trigger loop every 84 milliseconds, or approx 11.9 times per second). If you want to be compatible with the countdown timer, then the counter will change 8 times per game second. If you are not using hyper triggers, the counter will change once every two game seconds.&lt;br /&gt;
&lt;br /&gt;
First, set the counter to the desired amount.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Always.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Modify death counts for Current Player: Set to 120 for Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make a trigger that always subtracts 1 from the counter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered at most 1 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Comment: *Preserve trigger.&lt;br /&gt;
*Modify death counts for Current Player: Set to 120 for Unit.&lt;br /&gt;
*Display text for current player: &amp;quot;You'll see this every ten seconds!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also use deathcounts to produce a series of repeatable events. However, this may only work with Hyper Triggers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered exactly 60 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Display text for current player: &amp;quot;Five seconds has just past!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered exactly 24 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Display text for current player: &amp;quot;There are two seconds left!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this, you can make various events from one death count. From this, one should realize that death counts can be used for almost all repeated but timed triggers without the need of setting more conditions. This is great for triggering things like pre/post spell effects.&lt;br /&gt;
&lt;br /&gt;
==Switch==&lt;br /&gt;
&lt;br /&gt;
You can use death counters like switches.&lt;br /&gt;
For example, use:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Always.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Modify death counts for Player: Set to X for Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in place of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*ALways.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Set 'Switch 1'}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this action, you can have conditions that respond accordingly. Player will be the player number, quantity is at least, exactly, or at most a certain number, and Unit is the unit that you used to set the deaths. This gives you a huge range of switches. Even more than 255, because there is a counter for every unit for each player.&lt;br /&gt;
&lt;br /&gt;
This also allows you to have player-specific switches. So, for example, you could set a death counter to 1 for All Players, and have each of the players' triggers respond to this counter individually. Without using a counter this would require multiple actions and multiple switches (set switch 1, set switch 2, set switch 3, etc.)&lt;br /&gt;
&lt;br /&gt;
==EUD==&lt;br /&gt;
'''For more information, see [[EUDs]].'''&lt;br /&gt;
&lt;br /&gt;
Attempting to use &amp;quot;Extended Unit&amp;quot; or &amp;quot;Extended Player&amp;quot; death counts has an entirely different effect. For a brief period &amp;quot;EUD&amp;quot; triggers, and other &amp;quot;extended&amp;quot; triggers, were possible.&lt;br /&gt;
Extended Unit Death triggers, a method of using the Deaths and Set Deaths conditions and actions with large values, allowed for map makers to read from or write to much of Starcraft's memory directly by means of buffer overflows.&lt;br /&gt;
&lt;br /&gt;
Many &amp;quot;mod-like&amp;quot; things were possible, such as giving Terran or Zerg units Protoss shields, changing what type of weapon a unit used, changing a unit's portrait and voice quotes, editing/detecting unit HP/energy, etc. Not only were these things possible, but they could also be activated in-game, and changed later during the game, which is beyond the power of a normal mod.&lt;br /&gt;
&lt;br /&gt;
These actions were later disabled by patch 1.13. They are currently non-functional, you can no longer set the death counts for extended units or players. You can, however, still read from memory using EUD conditions.&lt;br /&gt;
&lt;br /&gt;
Problems with EUD conditions are numerous. Mainly, most of them aren't particularly useful, especially without their EUD action counterparts. They also need to be updated if StarCraft is ever patched, because the memory locations change - although no longer an issue nowadays given the last patch was over 5 years ago. Some EUD Conditions will even drop players when actions are used as the values are not shared over Battle.net.&lt;br /&gt;
&lt;br /&gt;
==Death counters over switches==&lt;br /&gt;
&lt;br /&gt;
Death Counters provide many advantages over normal switches, however both have their place. Here's a list of times when one should choose either a switch or a death counter:&lt;br /&gt;
&lt;br /&gt;
Death Counters&lt;br /&gt;
* Player-specific switches&lt;br /&gt;
* Switches with more than two states&lt;br /&gt;
&lt;br /&gt;
Normal Switches&lt;br /&gt;
* Global Switches&lt;br /&gt;
* Two state switches&lt;br /&gt;
* Randomization&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Death_Counters&amp;diff=612</id>
		<title>Death Counters</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Death_Counters&amp;diff=612"/>
				<updated>2019-05-17T19:37:55Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Timer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Death counts''' are unsigned 4-byte values that keep track of how many times a given [[unit]] had been killed for each player.&lt;br /&gt;
When a unit is killed (by another unit, not by a kill trigger), 1 is added to the death count of that unit for whatever player owned it. All death counts for all players start at zero.&lt;br /&gt;
&lt;br /&gt;
The Deaths condition can be used to detect how many deaths a player has for a unit. The Set Deaths action can be used to modify the death counts. Map makers can use these counters for a variety of things other than just detecting when units get killed. They can be used to store game variables, such as the level in a defense map, or character HP in a RPG map.&lt;br /&gt;
&lt;br /&gt;
They can also be used as a timer. Death counter timers are a commonly used alternative to wait actions. Used in conjunction with [[Hyper Triggers]], Death counter timers are far more useful and flexible than wait actions. The number of death counts available to map makers is very high; one for each unit for each player 1-8.&lt;br /&gt;
&lt;br /&gt;
==Counter control==&lt;br /&gt;
&lt;br /&gt;
Unless you are using a death counter to actually detect when a unit is killed, your [[triggers]] should have absolute control over the value of the death counter. To do this, make sure that the unit can't actually be killed in your map.&lt;br /&gt;
&lt;br /&gt;
The following units can never be killed, the only way their death count will change from zero is if you use the Set Deaths action. Many of these units can't be used in a map at all.&lt;br /&gt;
&lt;br /&gt;
 Goliath Turret&lt;br /&gt;
 Tank Turret(Tank Mode)&lt;br /&gt;
 Nuclear Missile&lt;br /&gt;
 Alan Schezar Turret&lt;br /&gt;
 Edmund Duke Turret&lt;br /&gt;
 Edmund Duke Turret&lt;br /&gt;
 Tank Turret (Siege Mode)&lt;br /&gt;
 Scanner Sweep&lt;br /&gt;
 Unused - Cargo Ship&lt;br /&gt;
 Unused - Mercenary Gunship&lt;br /&gt;
 Map Revealer&lt;br /&gt;
 Disruption Web&lt;br /&gt;
 Unused1&lt;br /&gt;
 Unused2&lt;br /&gt;
 Uraj Crystal&lt;br /&gt;
 Khalis Crystal&lt;br /&gt;
 Unused Zerg Building1&lt;br /&gt;
 Unused Zerg Building2&lt;br /&gt;
 Unused Protoss Building1&lt;br /&gt;
 Unused Protoss Building2&lt;br /&gt;
 Khaydarin Crystal Formation&lt;br /&gt;
 Mineral Field (Type 1)&lt;br /&gt;
 Mineral Field (Type 2)&lt;br /&gt;
 Mineral Field (Type 3)&lt;br /&gt;
 Cave&lt;br /&gt;
 Cave-in&lt;br /&gt;
 Cantina&lt;br /&gt;
 Mining Platform&lt;br /&gt;
 Independant Command Center&lt;br /&gt;
 Independant Starport&lt;br /&gt;
 Independant Jump Gate&lt;br /&gt;
 Ruins&lt;br /&gt;
 Kyadarin Crystal Formation&lt;br /&gt;
 Vespene Geyser&lt;br /&gt;
 Zerg Marker&lt;br /&gt;
 Terran Marker&lt;br /&gt;
 Protoss Marker&lt;br /&gt;
 Zerg Beacon&lt;br /&gt;
 Terran Beacon&lt;br /&gt;
 Protoss Beacon&lt;br /&gt;
 Zerg Flag Beacon&lt;br /&gt;
 Terran Flag Beacon&lt;br /&gt;
 Protoss Flag Beacon&lt;br /&gt;
 Dark Swarm&lt;br /&gt;
 Floor Hatch&lt;br /&gt;
 Left Upper Level Door&lt;br /&gt;
 Right Upper Level Door&lt;br /&gt;
 Left Pit Door&lt;br /&gt;
 Right Pit Door&lt;br /&gt;
 Start Location&lt;br /&gt;
 Flag&lt;br /&gt;
 Psi Emitter&lt;br /&gt;
 Data Disc&lt;br /&gt;
 Khaydarin Crystal&lt;br /&gt;
&lt;br /&gt;
All of these units are either always invincible, or they crash when you place them on the map, or crash when killed, so they are good units to use for death counters. In the case of the Start Location, they can be placed on the map as units, and can be attacked and killed, adding one to the death count, but anyone who views this event will crash.&lt;br /&gt;
&lt;br /&gt;
==Timer==&lt;br /&gt;
&lt;br /&gt;
Any type of counter can be used as a timer, but using a death counter is the most common method, because there are many available for use. To use a counter as a timer, you must first determine how long you want it to wait.&lt;br /&gt;
This type of counter is based on how often the triggers execute. If you are using hyper triggers on fastest, the counter will change 12 times per real-time second (the exact number is 1 trigger loop every 84 milliseconds, or approx 11.9 times per second). If you want to be compatible with the countdown timer, then the counter will change 8 times per game second. If you are not using hyper triggers, the counter will change once every two game seconds.&lt;br /&gt;
&lt;br /&gt;
First, set the counter to the desired amount.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Always.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Modify death counts for Current Player: Set to 120 for Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make a trigger that always subtracts 1 from the counter.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered at most 1 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Comment: *Preserve trigger.&lt;br /&gt;
*Modify death counts for Current Player: Set to 120 for Unit.&lt;br /&gt;
*Display text for current player: &amp;quot;You'll see this every ten seconds!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also use deathcounts to produce a series of repeatable events. However, this may only work with Hyper Triggers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered exactly 60 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Display text for current player: &amp;quot;Five seconds has just past!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Desired non-neutral player}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Current Player has suffered exactly 24 deaths of Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Preserve trigger.&lt;br /&gt;
*Display text for current player: &amp;quot;There are two seconds left!&amp;quot;}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using this, you can make various events from one death count. From this, one should realize that death counts can be used for almost all repeated but timed triggers without the need of setting more conditions. This is great for triggering things like pre/post spell effects.&lt;br /&gt;
&lt;br /&gt;
==Switch==&lt;br /&gt;
&lt;br /&gt;
You can use death counters like switches.&lt;br /&gt;
For example, use:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Never.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Modify death counts for Player: Set to X for Unit.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in place of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1&amp;quot; style=&amp;quot;width:625px;margin-bottom:1em;border:1px solid #000;background:#CCC&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-header&amp;quot; style=&amp;quot;padding:4px;border-bottom:1px solid #777;background:#AAA;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;''StarCraft'' Trigger &amp;lt;span style=&amp;quot;float:right;font-size:.8em&amp;quot;&amp;gt;[&amp;lt;nowiki/&amp;gt;[[Template:StarCraft Trigger|template]]&amp;lt;nowiki/&amp;gt;]&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{#if:{{{description|}}}|&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-description&amp;quot; style=&amp;quot;float:left;width:75px;padding:4px;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Description:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-description&amp;quot; style=&amp;quot;padding:4px 4px 4px 22px;margin-left:83px;background:#FFF&amp;quot;&amp;gt;{{{description}}}&amp;lt;/div&amp;gt;|}}&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-players&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;{{#if:{{{description|}}}|border-top:1px solid #888;|}}background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Players:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-players&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;{{#if:{{{description|}}}|border-top:1px solid #AAA;|}}background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{players|{{{1|*Neutral}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-conditions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Conditions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-conditions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF&amp;quot;&amp;gt;&lt;br /&gt;
{{{conditions|{{{2|*Never.}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-field trigger-sc1-actions&amp;quot; style=&amp;quot;float:left;clear:left;width:75px;padding:6px 4px 5px 4px;border-top:1px solid #888;background:#CCC;font-weight:bold;vertical-align:middle&amp;quot;&amp;gt;Actions:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;trigger-sc1-value trigger-sc1-actions&amp;quot; style=&amp;quot;padding:1px 4px 5px 3px;margin-left:83px;border-top:1px solid #AAA;background:#FFF;max-height:203px;overflow-y:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{{actions|{{{3|*Set 'Switch 1'}}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br style=&amp;quot;clear:both;font-size:0;line-height:0&amp;quot;/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this action, you can have conditions that respond accordingly. Player will be the player number, quantity is at least, exactly, or at most a certain number, and Unit is the unit that you used to set the deaths. This gives you a huge range of switches. Even more than 255, because there is a counter for every unit for each player.&lt;br /&gt;
&lt;br /&gt;
This also allows you to have player-specific switches. So, for example, you could set a death counter to 1 for All Players, and have each of the players' triggers respond to this counter individually. Without using a counter this would require multiple actions and multiple switches (set switch 1, set switch 2, set switch 3, etc.)&lt;br /&gt;
&lt;br /&gt;
==EUD==&lt;br /&gt;
'''For more information, see [[EUDs]].'''&lt;br /&gt;
&lt;br /&gt;
Attempting to use &amp;quot;Extended Unit&amp;quot; or &amp;quot;Extended Player&amp;quot; death counts has an entirely different effect. For a brief period &amp;quot;EUD&amp;quot; triggers, and other &amp;quot;extended&amp;quot; triggers, were possible.&lt;br /&gt;
Extended Unit Death triggers, a method of using the Deaths and Set Deaths conditions and actions with large values, allowed for map makers to read from or write to much of Starcraft's memory directly by means of buffer overflows.&lt;br /&gt;
&lt;br /&gt;
Many &amp;quot;mod-like&amp;quot; things were possible, such as giving Terran or Zerg units Protoss shields, changing what type of weapon a unit used, changing a unit's portrait and voice quotes, editing/detecting unit HP/energy, etc. Not only were these things possible, but they could also be activated in-game, and changed later during the game, which is beyond the power of a normal mod.&lt;br /&gt;
&lt;br /&gt;
These actions were later disabled by patch 1.13. They are currently non-functional, you can no longer set the death counts for extended units or players. You can, however, still read from memory using EUD conditions.&lt;br /&gt;
&lt;br /&gt;
Problems with EUD conditions are numerous. Mainly, most of them aren't particularly useful, especially without their EUD action counterparts. They also need to be updated if StarCraft is ever patched, because the memory locations change - although no longer an issue nowadays given the last patch was over 5 years ago. Some EUD Conditions will even drop players when actions are used as the values are not shared over Battle.net.&lt;br /&gt;
&lt;br /&gt;
==Death counters over switches==&lt;br /&gt;
&lt;br /&gt;
Death Counters provide many advantages over normal switches, however both have their place. Here's a list of times when one should choose either a switch or a death counter:&lt;br /&gt;
&lt;br /&gt;
Death Counters&lt;br /&gt;
* Player-specific switches&lt;br /&gt;
* Switches with more than two states&lt;br /&gt;
&lt;br /&gt;
Normal Switches&lt;br /&gt;
* Global Switches&lt;br /&gt;
* Two state switches&lt;br /&gt;
* Randomization&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=608</id>
		<title>Spells (Terran)</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=608"/>
				<updated>2019-02-09T21:38:56Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Computer Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is the list of Terran spells and abilities.&lt;br /&gt;
&lt;br /&gt;
== Stim Packs ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Marine]], [[Terran Firebat]], [[Jim Raynor]] (Hero Marine), and [[Gui Montag]] (Hero Firebat). No energy is required by default.&lt;br /&gt;
10 points of damage is done to the unit when the ability is used. In order for this ability to be used, the unit must have at least 11 HP.&lt;br /&gt;
When used, the unit will have an increased movement speed (+50%) and attack rate (+75-100%) for 296 frames (about 12.3 seconds on fastest).&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will use this ability when fighting enemy units above 100 health+shields with Marines and Firebats.&lt;br /&gt;
&lt;br /&gt;
== Lockdown ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Ghost]], [[Sarah Kerrigan]] (Hero Ghost), [[Samir Duran]] (Hero Ghost), [[Infested Duran]] (Hero Ghost), and [[Alexie Stukov]] (Hero Ghost). It costs 100 energy by default.&lt;br /&gt;
Lockdown can be cast on any mechanical unit except for buildings. Units affected by lockdown will be unable to move or attack for 1056 frames (about 44 seconds on fastest).&lt;br /&gt;
This effect can be canceled by the [[Terran Medic]]'s Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will Lockdown enemy mechanical units that are attacking friendly units in an area around them, and will also Lockdown loaded mechanical transports and Reavers, Carriers even when idle.&lt;br /&gt;
&lt;br /&gt;
== EMP Shockwave ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Units in the targeted area will have all of their energy and shield points removed. This works on all units and buildings.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled [[Terran Science Vessel]] will sometimes cast EMP Shockwave on nearby enemy spellcasters. They will also cast it on groups of protoss units to remove their shields.&lt;br /&gt;
&lt;br /&gt;
== Spider Mines ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Vulture]] and [[Jim Raynor]] (Hero Vulture). No energy is required by default.&lt;br /&gt;
Each vulture has a cache of three [[Spider Mines]] that it may place on any walkable terrain. Once the vulture is out of mines, it cannot place more. The mines cannot be replaced or recharged unless by triggers. [[Vulture Spider Mines]] are proximity-activated suicide explosive splash damage units.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players with a town script running will place spider mines near town and high priority defense regions.&lt;br /&gt;
&lt;br /&gt;
== Scanner Sweep ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Comsat Station]] addon. It costs 50 energy by default.&lt;br /&gt;
The spell has unlimited range. Any point on the map can be targeted. The targeted area will be revealed to the player for a short duration. The scanner sweep is also a [[detector]].&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players cast this spell when a friendly unit that has a weapon is attacked by a cloaked unit.&lt;br /&gt;
&lt;br /&gt;
== Tank Siege Mode ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Siege Tank]] and [[Edmund Duke]] (Hero Siege Tank). No energy is required by default.&lt;br /&gt;
When this ability is used, the tank transforms into a very powerful, long-range, immobile turret. The ability can also be used in this form to toggle back to tank mode. Some time is required for the tank to change between modes. Siege mode also has a minimum attack range; it cannot hit units that are right beside it.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled siege tank will go into siege mode when an enemy unit gets within its range. If the unit moves within the tank's minimum range, it will usually unsiege to attack it in tank mode.&lt;br /&gt;
Computers will not siege or un-siege the hero siege tank.&lt;br /&gt;
Computers can use the unsiege ability even if siege is not researched. (Human players must have the ability researched to siege or unsiege)&lt;br /&gt;
If the Move Unit action is used to move a sieged Siege Tank to a different location, the Tank will unsiege and try to return to its original location.&lt;br /&gt;
&lt;br /&gt;
== Defense Matrix ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Defense matrix can be used on any unit, except for buildings. The targeted unit will be surrounded by a shield that absorbs damage for 1344 frames (about 56 seconds on fastest), or until the shield has absorbed 250 damage.&lt;br /&gt;
While defense matrix is active on a unit, any attack will result in the unit taking 0.5 damage.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
[[Terran Science Vessel]]s will use this spell on a unit that is nearby, is missing over half its total HP/Shields and is currently being attacked.&lt;br /&gt;
The unit being damaged has to be a higher level unit, like a [[Terran Goliath]], [[Terran Tank]], [[Terran Wraith]], etc. It will also cast it on allied units.&lt;br /&gt;
&lt;br /&gt;
== Irradiate ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 75 energy by default.&lt;br /&gt;
Irradiate can be cast on any unit, except for buildings. The affected unit will have a large animated cloud around it for 600 frames (about 25 seconds on fastest). Any organic unit touching this cloud will take damage over time.&lt;br /&gt;
The cloud deals 853/256=3.33 damage every 8 frames for 600 frames, for a total of 63975/256=249.9 damage, and ignores armor. Burrowed units are not hit by the splash.&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
Detailed instructions&lt;br /&gt;
Options for Irradiation:&lt;br /&gt;
&lt;br /&gt;
    * If you want an area to be continually irradiated, you can use irradiated scourges. Just time it with death counts for when to replace the irradiated scourges with new ones.&lt;br /&gt;
    * If you want a unit to itself be irradiated, you can have irradiated scourges following it provided that the unit is unique (scourge can follow it).&lt;br /&gt;
    * If you want a unit itself to be irradiated but you don't want the scourge following it, you can move it to another location to get irradiated and moved back afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisites to Irradiate a Unit in an Isolated Location:&lt;br /&gt;
&lt;br /&gt;
    * Have a Zerg Cocoon set to 0/1 hp&lt;br /&gt;
    * Have a Raszagal Hero Corsair near it continually attacking the Cocoon&lt;br /&gt;
    * When you want to get something irradiated (scourge or otherwise), spawn the following near the Cocoon:&lt;br /&gt;
          o Science Vessel (not hero version, with enough energy and irrad researched) owned by a CPU that does not own the Raszagal&lt;br /&gt;
          o The unit you want irradiated owned by an enemy of that CPU&lt;br /&gt;
          o 1hp Civilians surrounding the unit to be irradiated owned by that CPU&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What Happens:&lt;br /&gt;
&lt;br /&gt;
    * The Science Vessel will come under attack by the splash damage of the Raszagal and look to irradiate something.&lt;br /&gt;
    * The Science Vessel will irradiate the unit you want (it's the only one close enough to irradiate)&lt;br /&gt;
    * When the unit is irradiated, the nearby Civilians will instantly die due to splash&lt;br /&gt;
    * After detecting that the Civilian count has changed, remove remaining civilians and the Science Vessel&lt;br /&gt;
    * Move the irradiated unit to wherever you want&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things to Keep in Mind:&lt;br /&gt;
&lt;br /&gt;
    * The isolated location must be ISOLATED, as in nothing can interfere with it by accident&lt;br /&gt;
    * This is based on default AI, no AI scripts needed&lt;br /&gt;
    * Other default AI stuff CAN INTERFERE with this, such as lockdown casts, defense matrix casts, etc. Use other computers for other AI effects as needed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(user posted image)&lt;br /&gt;
Here's a screenshot of a mass irradiated scourge spell demo. There were I believe 40ish irradiated scourges (the damage stacks!). You casted it with dark swarm and subsequent casts moved the entire irradiated ball around.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If a Science Vessel is being attacked, it will cast Irradiate on nearby enemy organic units. They will sometimes use it when idle.&lt;br /&gt;
&lt;br /&gt;
== Yamato Gun ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Battlecruiser, Norad II (Hero Battlecruiser), and Hyperion (Hero Battlecruiser), and Gerard DuGalle (Hero Battlecruiser). It costs 150 energy by default.&lt;br /&gt;
When a unit is targeted for a yamato gun attack the Battlecruiser will first move into range of the unit. The range of yamato gun is very high. The Battlecruiser takes a short duration to &amp;quot;charge&amp;quot; his attack, then fires. The attack does 260 explosive damage to a single target.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer tends to use Yamato Gun on strong units such as Carriers or other Battlecruisers. Running a melee AI Script makes them use it more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Cloak ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Ghost, Sarah Kerrigan (Hero Ghost), Samir Duran (Hero Ghost), Infested Duran (Hero Ghost), Alexei Stukov (Hero Ghost), Infested Kerrigan, Wraith, and Tom Kazansky (Hero Wraith). Cloaking Field(for Wraiths) and Personnel Cloaking(for Ghosts) cost the same amount of initial energy(25), but spends a different amount of energy while cloaked. Personnel Cloaking drains 18/256 additional energy each frame as long as cloaking is engaged, or 10/256 energy per frame including energy regeneration. Cloaking Field drains 21/256 energy per each frame (13/256 per frame including regeneration).&lt;br /&gt;
Cloaked units are not visible to other players unless they have a Detector in range. If the unit's energy runs out, the cloak is canceled automatically. Ghosts will not acquire targets automatically while cloaked unless manually ordered to attack a target, or ordered to hold position.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If their ability is researched (There's a separate technology for Ghost and Wraith cloaking) Ghosts and Wraiths will cloak when attacked. Ghosts will also cloak before they attempt to target a nuclear strike.&lt;br /&gt;
&lt;br /&gt;
== Restoration ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 50 energy by default.&lt;br /&gt;
This can be used on a unit to cure a wide range of spell effects. Stasis field cannot be removed by restoration.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will sometimes use Restoration to cure his units. Running a melee AI Script causes the computer to use it more.&lt;br /&gt;
&lt;br /&gt;
== Optical Flare ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 75 energy by default.&lt;br /&gt;
The targeted unit will gain the &amp;quot;Blind&amp;quot; status, which reduces the unit's vision radius to a minimum. Blind also removes the &amp;quot;Detector&amp;quot; ability of the unit. Whenever a unit becomes blinded, vision is updated for all players on the map.&lt;br /&gt;
This effect can only be canceled with the Medic's Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
For the computer to cast optical flare on an enemy unit, the unit must have at least 81 hit points, including protoss shield points. Attacking the Medic or running a Melee AI Script for the computer player controlling the Medic will cause the computer to use the spell more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Heal ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Medic]]. Is costs 1 energy by default. Note: Changing the energy cost will not actually effect how much energy the medic uses to cast heal.&lt;br /&gt;
Medics use this spell on allied damaged organic units automatically.&lt;br /&gt;
Medics heal at 200/256 HP for 100/256 Energy per frame.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computers use heal nearly the same way as humans. Medics automatically acquire targets to heal. But the Computer only heals its own units.&lt;br /&gt;
&lt;br /&gt;
== Lift Off ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
Six Terran buildings and the Infested Command Center can lift off, becoming mobile air units but losing other functions. The building may then land on any buildable terrain including creep if infested.&lt;br /&gt;
Landing on top of some units will &amp;quot;crush&amp;quot; them, killing them instantly. These units include: Burrowed Zerg units, Siege Tanks in Siege Mode, and Interceptors.&lt;br /&gt;
A building that was created with the &amp;quot;lifted&amp;quot; property moves at a speed about 1/3 faster than regular until it is landed.&lt;br /&gt;
Computer players are not known to use lift off or land at all.&lt;br /&gt;
&lt;br /&gt;
== Repair ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
A [[Terran SCV]] may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will repair his damaged units when a melee AI Script is running.&lt;br /&gt;
They won't repair allied units, hero units, or SCVs. The heal rate is based on the unit's Max HP and Build time. See regeneration for more details.&lt;br /&gt;
&lt;br /&gt;
== Nuclear Strike ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Ghost]]. No energy is required by default. A nuke must be built before this ability can be used.&lt;br /&gt;
A [[Terran Ghost]] may target a location for a nuclear strike. A red dot will appear to indicate the location. The ghost must remain alive during the entire targeting process, or the nuke is lost.&lt;br /&gt;
After a short duration, the nuke will drop, dealing damage in a screen-sized area. Units further from the center of the explosion take less damage. Units in the center take full damage, which is 500 -OR- 2/3 of max HP, depending on which one is higher. Nukes deal explosive type damage.&lt;br /&gt;
A nuke cannot do more than 65535 damage. See Nuclear Missile Damage for more details.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
There are AI Scripts that can be used to make a computer build and launch nukes. Terran melee AI Scripts also have the ability to build and launch nukes.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Spells and Abilities]]&lt;br /&gt;
[[Category:Terran]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=607</id>
		<title>Spells (Terran)</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=607"/>
				<updated>2019-02-09T21:37:25Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Computer Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is the list of Terran spells and abilities.&lt;br /&gt;
&lt;br /&gt;
== Stim Packs ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Marine]], [[Terran Firebat]], [[Jim Raynor]] (Hero Marine), and [[Gui Montag]] (Hero Firebat). No energy is required by default.&lt;br /&gt;
10 points of damage is done to the unit when the ability is used. In order for this ability to be used, the unit must have at least 11 HP.&lt;br /&gt;
When used, the unit will have an increased movement speed (+50%) and attack rate (+75-100%) for 296 frames (about 12.3 seconds on fastest).&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will use this ability when fighting enemy units above 100 health+shields with Marines and Firebats.&lt;br /&gt;
&lt;br /&gt;
== Lockdown ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Ghost]], [[Sarah Kerrigan]] (Hero Ghost), [[Samir Duran]] (Hero Ghost), [[Infested Duran]] (Hero Ghost), and [[Alexie Stukov]] (Hero Ghost). It costs 100 energy by default.&lt;br /&gt;
Lockdown can be cast on any mechanical unit except for buildings. Units affected by lockdown will be unable to move or attack for 1056 frames (about 44 seconds on fastest).&lt;br /&gt;
This effect can be canceled by the [[Terran Medic]]'s Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will Lockdown enemy mechanical units that are attacking friendly units in an area around them, and will also Lockdown loaded mechanical transports and Reavers, Carriers even when idle.&lt;br /&gt;
&lt;br /&gt;
== EMP Shockwave ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Units in the targeted area will have all of their energy and shield points removed. This works on all units and buildings.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled [[Terran Science Vessel]] will sometimes cast EMP Shockwave on nearby enemy spellcasters. They will also cast it on groups of protoss units to remove their shields.&lt;br /&gt;
&lt;br /&gt;
== Spider Mines ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Vulture]] and [[Jim Raynor]] (Hero Vulture). No energy is required by default.&lt;br /&gt;
Each vulture has a cache of three [[Spider Mines]] that it may place on any walkable terrain. Once the vulture is out of mines, it cannot place more. The mines cannot be replaced or recharged unless by triggers. [[Vulture Spider Mines]] are proximity-activated suicide explosive splash damage units.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players with a town script running will place spider mines near town and high priority defense regions.&lt;br /&gt;
&lt;br /&gt;
== Scanner Sweep ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Comsat Station]] addon. It costs 50 energy by default.&lt;br /&gt;
The spell has unlimited range. Any point on the map can be targeted. The targeted area will be revealed to the player for a short duration. The scanner sweep is also a [[detector]].&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will only use this spell for its detection properties. If the computers units are attacked by cloaked units and no detectors are around, he will cast scanner sweep immediately to reveal them.&lt;br /&gt;
&lt;br /&gt;
== Tank Siege Mode ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Siege Tank]] and [[Edmund Duke]] (Hero Siege Tank). No energy is required by default.&lt;br /&gt;
When this ability is used, the tank transforms into a very powerful, long-range, immobile turret. The ability can also be used in this form to toggle back to tank mode. Some time is required for the tank to change between modes. Siege mode also has a minimum attack range; it cannot hit units that are right beside it.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled siege tank will go into siege mode when an enemy unit gets within its range. If the unit moves within the tank's minimum range, it will usually unsiege to attack it in tank mode.&lt;br /&gt;
Computers will not siege or un-siege the hero siege tank.&lt;br /&gt;
Computers can use the unsiege ability even if siege is not researched. (Human players must have the ability researched to siege or unsiege)&lt;br /&gt;
If the Move Unit action is used to move a sieged Siege Tank to a different location, the Tank will unsiege and try to return to its original location.&lt;br /&gt;
&lt;br /&gt;
== Defense Matrix ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Defense matrix can be used on any unit, except for buildings. The targeted unit will be surrounded by a shield that absorbs damage for 1344 frames (about 56 seconds on fastest), or until the shield has absorbed 250 damage.&lt;br /&gt;
While defense matrix is active on a unit, any attack will result in the unit taking 0.5 damage.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
[[Terran Science Vessel]]s will use this spell on a unit that is nearby, is missing over half its total HP/Shields and is currently being attacked.&lt;br /&gt;
The unit being damaged has to be a higher level unit, like a [[Terran Goliath]], [[Terran Tank]], [[Terran Wraith]], etc. It will also cast it on allied units.&lt;br /&gt;
&lt;br /&gt;
== Irradiate ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 75 energy by default.&lt;br /&gt;
Irradiate can be cast on any unit, except for buildings. The affected unit will have a large animated cloud around it for 600 frames (about 25 seconds on fastest). Any organic unit touching this cloud will take damage over time.&lt;br /&gt;
The cloud deals 853/256=3.33 damage every 8 frames for 600 frames, for a total of 63975/256=249.9 damage, and ignores armor. Burrowed units are not hit by the splash.&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
Detailed instructions&lt;br /&gt;
Options for Irradiation:&lt;br /&gt;
&lt;br /&gt;
    * If you want an area to be continually irradiated, you can use irradiated scourges. Just time it with death counts for when to replace the irradiated scourges with new ones.&lt;br /&gt;
    * If you want a unit to itself be irradiated, you can have irradiated scourges following it provided that the unit is unique (scourge can follow it).&lt;br /&gt;
    * If you want a unit itself to be irradiated but you don't want the scourge following it, you can move it to another location to get irradiated and moved back afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisites to Irradiate a Unit in an Isolated Location:&lt;br /&gt;
&lt;br /&gt;
    * Have a Zerg Cocoon set to 0/1 hp&lt;br /&gt;
    * Have a Raszagal Hero Corsair near it continually attacking the Cocoon&lt;br /&gt;
    * When you want to get something irradiated (scourge or otherwise), spawn the following near the Cocoon:&lt;br /&gt;
          o Science Vessel (not hero version, with enough energy and irrad researched) owned by a CPU that does not own the Raszagal&lt;br /&gt;
          o The unit you want irradiated owned by an enemy of that CPU&lt;br /&gt;
          o 1hp Civilians surrounding the unit to be irradiated owned by that CPU&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What Happens:&lt;br /&gt;
&lt;br /&gt;
    * The Science Vessel will come under attack by the splash damage of the Raszagal and look to irradiate something.&lt;br /&gt;
    * The Science Vessel will irradiate the unit you want (it's the only one close enough to irradiate)&lt;br /&gt;
    * When the unit is irradiated, the nearby Civilians will instantly die due to splash&lt;br /&gt;
    * After detecting that the Civilian count has changed, remove remaining civilians and the Science Vessel&lt;br /&gt;
    * Move the irradiated unit to wherever you want&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things to Keep in Mind:&lt;br /&gt;
&lt;br /&gt;
    * The isolated location must be ISOLATED, as in nothing can interfere with it by accident&lt;br /&gt;
    * This is based on default AI, no AI scripts needed&lt;br /&gt;
    * Other default AI stuff CAN INTERFERE with this, such as lockdown casts, defense matrix casts, etc. Use other computers for other AI effects as needed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(user posted image)&lt;br /&gt;
Here's a screenshot of a mass irradiated scourge spell demo. There were I believe 40ish irradiated scourges (the damage stacks!). You casted it with dark swarm and subsequent casts moved the entire irradiated ball around.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If a Science Vessel is being attacked, it will cast Irradiate on nearby enemy organic units. They will sometimes use it when idle.&lt;br /&gt;
&lt;br /&gt;
== Yamato Gun ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Battlecruiser, Norad II (Hero Battlecruiser), and Hyperion (Hero Battlecruiser), and Gerard DuGalle (Hero Battlecruiser). It costs 150 energy by default.&lt;br /&gt;
When a unit is targeted for a yamato gun attack the Battlecruiser will first move into range of the unit. The range of yamato gun is very high. The Battlecruiser takes a short duration to &amp;quot;charge&amp;quot; his attack, then fires. The attack does 260 explosive damage to a single target.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer tends to use Yamato Gun on strong units such as Carriers or other Battlecruisers. Running a melee AI Script makes them use it more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Cloak ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Ghost, Sarah Kerrigan (Hero Ghost), Samir Duran (Hero Ghost), Infested Duran (Hero Ghost), Alexei Stukov (Hero Ghost), Infested Kerrigan, Wraith, and Tom Kazansky (Hero Wraith). Cloaking Field(for Wraiths) and Personnel Cloaking(for Ghosts) cost the same amount of initial energy(25), but spends a different amount of energy while cloaked. Personnel Cloaking drains 18/256 additional energy each frame as long as cloaking is engaged, or 10/256 energy per frame including energy regeneration. Cloaking Field drains 21/256 energy per each frame (13/256 per frame including regeneration).&lt;br /&gt;
Cloaked units are not visible to other players unless they have a Detector in range. If the unit's energy runs out, the cloak is canceled automatically. Ghosts will not acquire targets automatically while cloaked unless manually ordered to attack a target, or ordered to hold position.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If their ability is researched (There's a separate technology for Ghost and Wraith cloaking) Ghosts and Wraiths will cloak when attacked. Ghosts will also cloak before they attempt to target a nuclear strike.&lt;br /&gt;
&lt;br /&gt;
== Restoration ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 50 energy by default.&lt;br /&gt;
This can be used on a unit to cure a wide range of spell effects. Stasis field cannot be removed by restoration.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will sometimes use Restoration to cure his units. Running a melee AI Script causes the computer to use it more.&lt;br /&gt;
&lt;br /&gt;
== Optical Flare ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 75 energy by default.&lt;br /&gt;
The targeted unit will gain the &amp;quot;Blind&amp;quot; status, which reduces the unit's vision radius to a minimum. Blind also removes the &amp;quot;Detector&amp;quot; ability of the unit. Whenever a unit becomes blinded, vision is updated for all players on the map.&lt;br /&gt;
This effect can only be canceled with the Medic's Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
For the computer to cast optical flare on an enemy unit, the unit must have at least 81 hit points, including protoss shield points. Attacking the Medic or running a Melee AI Script for the computer player controlling the Medic will cause the computer to use the spell more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Heal ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Medic]]. Is costs 1 energy by default. Note: Changing the energy cost will not actually effect how much energy the medic uses to cast heal.&lt;br /&gt;
Medics use this spell on allied damaged organic units automatically.&lt;br /&gt;
Medics heal at 200/256 HP for 100/256 Energy per frame.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computers use heal nearly the same way as humans. Medics automatically acquire targets to heal. But the Computer only heals its own units.&lt;br /&gt;
&lt;br /&gt;
== Lift Off ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
Six Terran buildings and the Infested Command Center can lift off, becoming mobile air units but losing other functions. The building may then land on any buildable terrain including creep if infested.&lt;br /&gt;
Landing on top of some units will &amp;quot;crush&amp;quot; them, killing them instantly. These units include: Burrowed Zerg units, Siege Tanks in Siege Mode, and Interceptors.&lt;br /&gt;
A building that was created with the &amp;quot;lifted&amp;quot; property moves at a speed about 1/3 faster than regular until it is landed.&lt;br /&gt;
Computer players are not known to use lift off or land at all.&lt;br /&gt;
&lt;br /&gt;
== Repair ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
A [[Terran SCV]] may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will repair his damaged units when a melee AI Script is running.&lt;br /&gt;
They won't repair allied units, hero units, or SCVs. The heal rate is based on the unit's Max HP and Build time. See regeneration for more details.&lt;br /&gt;
&lt;br /&gt;
== Nuclear Strike ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Ghost]]. No energy is required by default. A nuke must be built before this ability can be used.&lt;br /&gt;
A [[Terran Ghost]] may target a location for a nuclear strike. A red dot will appear to indicate the location. The ghost must remain alive during the entire targeting process, or the nuke is lost.&lt;br /&gt;
After a short duration, the nuke will drop, dealing damage in a screen-sized area. Units further from the center of the explosion take less damage. Units in the center take full damage, which is 500 -OR- 2/3 of max HP, depending on which one is higher. Nukes deal explosive type damage.&lt;br /&gt;
A nuke cannot do more than 65535 damage. See Nuclear Missile Damage for more details.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
There are AI Scripts that can be used to make a computer build and launch nukes. Terran melee AI Scripts also have the ability to build and launch nukes.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Spells and Abilities]]&lt;br /&gt;
[[Category:Terran]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=606</id>
		<title>Spells (Terran)</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=606"/>
				<updated>2019-02-09T21:36:04Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Computer Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is the list of Terran spells and abilities.&lt;br /&gt;
&lt;br /&gt;
== Stim Packs ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Marine]], [[Terran Firebat]], [[Jim Raynor]] (Hero Marine), and [[Gui Montag]] (Hero Firebat). No energy is required by default.&lt;br /&gt;
10 points of damage is done to the unit when the ability is used. In order for this ability to be used, the unit must have at least 11 HP.&lt;br /&gt;
When used, the unit will have an increased movement speed (+50%) and attack rate (+75-100%) for 296 frames (about 12.3 seconds on fastest).&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will use this ability when fighting enemy units above 100 health+shields with Marines and Firebats.&lt;br /&gt;
&lt;br /&gt;
== Lockdown ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Ghost]], [[Sarah Kerrigan]] (Hero Ghost), [[Samir Duran]] (Hero Ghost), [[Infested Duran]] (Hero Ghost), and [[Alexie Stukov]] (Hero Ghost). It costs 100 energy by default.&lt;br /&gt;
Lockdown can be cast on any mechanical unit except for buildings. Units affected by lockdown will be unable to move or attack for 1056 frames (about 44 seconds on fastest).&lt;br /&gt;
This effect can be canceled by the [[Terran Medic]]'s Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will Lockdown enemy mechanical units that are attacking friendly units in an area around them, and will also Lockdown loaded mechanical transports and Reavers, Carriers even when idle.&lt;br /&gt;
&lt;br /&gt;
== EMP Shockwave ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Units in the targeted area will have all of their energy and shield points removed. This works on all units and buildings.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled [[Terran Science Vessel]] will sometimes cast EMP Shockwave on nearby enemy spellcasters. They will also cast it on groups of protoss units to remove their shields.&lt;br /&gt;
&lt;br /&gt;
== Spider Mines ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Vulture]] and [[Jim Raynor]] (Hero Vulture). No energy is required by default.&lt;br /&gt;
Each vulture has a cache of three [[Spider Mines]] that it may place on any walkable terrain. Once the vulture is out of mines, it cannot place more. The mines cannot be replaced or recharged unless by triggers. [[Vulture Spider Mines]] are proximity-activated suicide explosive splash damage units.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will not place spider mines unless a melee [[AI Script]] is running.&lt;br /&gt;
The computer will mainly place spider mines near its own buildings, but will sometimes place them near allied buildings or even enemy buildings.&lt;br /&gt;
&lt;br /&gt;
== Scanner Sweep ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Comsat Station]] addon. It costs 50 energy by default.&lt;br /&gt;
The spell has unlimited range. Any point on the map can be targeted. The targeted area will be revealed to the player for a short duration. The scanner sweep is also a [[detector]].&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will only use this spell for its detection properties. If the computers units are attacked by cloaked units and no detectors are around, he will cast scanner sweep immediately to reveal them.&lt;br /&gt;
&lt;br /&gt;
== Tank Siege Mode ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Siege Tank]] and [[Edmund Duke]] (Hero Siege Tank). No energy is required by default.&lt;br /&gt;
When this ability is used, the tank transforms into a very powerful, long-range, immobile turret. The ability can also be used in this form to toggle back to tank mode. Some time is required for the tank to change between modes. Siege mode also has a minimum attack range; it cannot hit units that are right beside it.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled siege tank will go into siege mode when an enemy unit gets within its range. If the unit moves within the tank's minimum range, it will usually unsiege to attack it in tank mode.&lt;br /&gt;
Computers will not siege or un-siege the hero siege tank.&lt;br /&gt;
Computers can use the unsiege ability even if siege is not researched. (Human players must have the ability researched to siege or unsiege)&lt;br /&gt;
If the Move Unit action is used to move a sieged Siege Tank to a different location, the Tank will unsiege and try to return to its original location.&lt;br /&gt;
&lt;br /&gt;
== Defense Matrix ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Defense matrix can be used on any unit, except for buildings. The targeted unit will be surrounded by a shield that absorbs damage for 1344 frames (about 56 seconds on fastest), or until the shield has absorbed 250 damage.&lt;br /&gt;
While defense matrix is active on a unit, any attack will result in the unit taking 0.5 damage.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
[[Terran Science Vessel]]s will use this spell on a unit that is nearby, is missing over half its total HP/Shields and is currently being attacked.&lt;br /&gt;
The unit being damaged has to be a higher level unit, like a [[Terran Goliath]], [[Terran Tank]], [[Terran Wraith]], etc. It will also cast it on allied units.&lt;br /&gt;
&lt;br /&gt;
== Irradiate ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 75 energy by default.&lt;br /&gt;
Irradiate can be cast on any unit, except for buildings. The affected unit will have a large animated cloud around it for 600 frames (about 25 seconds on fastest). Any organic unit touching this cloud will take damage over time.&lt;br /&gt;
The cloud deals 853/256=3.33 damage every 8 frames for 600 frames, for a total of 63975/256=249.9 damage, and ignores armor. Burrowed units are not hit by the splash.&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
Detailed instructions&lt;br /&gt;
Options for Irradiation:&lt;br /&gt;
&lt;br /&gt;
    * If you want an area to be continually irradiated, you can use irradiated scourges. Just time it with death counts for when to replace the irradiated scourges with new ones.&lt;br /&gt;
    * If you want a unit to itself be irradiated, you can have irradiated scourges following it provided that the unit is unique (scourge can follow it).&lt;br /&gt;
    * If you want a unit itself to be irradiated but you don't want the scourge following it, you can move it to another location to get irradiated and moved back afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisites to Irradiate a Unit in an Isolated Location:&lt;br /&gt;
&lt;br /&gt;
    * Have a Zerg Cocoon set to 0/1 hp&lt;br /&gt;
    * Have a Raszagal Hero Corsair near it continually attacking the Cocoon&lt;br /&gt;
    * When you want to get something irradiated (scourge or otherwise), spawn the following near the Cocoon:&lt;br /&gt;
          o Science Vessel (not hero version, with enough energy and irrad researched) owned by a CPU that does not own the Raszagal&lt;br /&gt;
          o The unit you want irradiated owned by an enemy of that CPU&lt;br /&gt;
          o 1hp Civilians surrounding the unit to be irradiated owned by that CPU&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What Happens:&lt;br /&gt;
&lt;br /&gt;
    * The Science Vessel will come under attack by the splash damage of the Raszagal and look to irradiate something.&lt;br /&gt;
    * The Science Vessel will irradiate the unit you want (it's the only one close enough to irradiate)&lt;br /&gt;
    * When the unit is irradiated, the nearby Civilians will instantly die due to splash&lt;br /&gt;
    * After detecting that the Civilian count has changed, remove remaining civilians and the Science Vessel&lt;br /&gt;
    * Move the irradiated unit to wherever you want&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things to Keep in Mind:&lt;br /&gt;
&lt;br /&gt;
    * The isolated location must be ISOLATED, as in nothing can interfere with it by accident&lt;br /&gt;
    * This is based on default AI, no AI scripts needed&lt;br /&gt;
    * Other default AI stuff CAN INTERFERE with this, such as lockdown casts, defense matrix casts, etc. Use other computers for other AI effects as needed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(user posted image)&lt;br /&gt;
Here's a screenshot of a mass irradiated scourge spell demo. There were I believe 40ish irradiated scourges (the damage stacks!). You casted it with dark swarm and subsequent casts moved the entire irradiated ball around.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If a Science Vessel is being attacked, it will cast Irradiate on nearby enemy organic units. They will sometimes use it when idle.&lt;br /&gt;
&lt;br /&gt;
== Yamato Gun ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Battlecruiser, Norad II (Hero Battlecruiser), and Hyperion (Hero Battlecruiser), and Gerard DuGalle (Hero Battlecruiser). It costs 150 energy by default.&lt;br /&gt;
When a unit is targeted for a yamato gun attack the Battlecruiser will first move into range of the unit. The range of yamato gun is very high. The Battlecruiser takes a short duration to &amp;quot;charge&amp;quot; his attack, then fires. The attack does 260 explosive damage to a single target.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer tends to use Yamato Gun on strong units such as Carriers or other Battlecruisers. Running a melee AI Script makes them use it more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Cloak ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Ghost, Sarah Kerrigan (Hero Ghost), Samir Duran (Hero Ghost), Infested Duran (Hero Ghost), Alexei Stukov (Hero Ghost), Infested Kerrigan, Wraith, and Tom Kazansky (Hero Wraith). Cloaking Field(for Wraiths) and Personnel Cloaking(for Ghosts) cost the same amount of initial energy(25), but spends a different amount of energy while cloaked. Personnel Cloaking drains 18/256 additional energy each frame as long as cloaking is engaged, or 10/256 energy per frame including energy regeneration. Cloaking Field drains 21/256 energy per each frame (13/256 per frame including regeneration).&lt;br /&gt;
Cloaked units are not visible to other players unless they have a Detector in range. If the unit's energy runs out, the cloak is canceled automatically. Ghosts will not acquire targets automatically while cloaked unless manually ordered to attack a target, or ordered to hold position.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If their ability is researched (There's a separate technology for Ghost and Wraith cloaking) Ghosts and Wraiths will cloak when attacked. Ghosts will also cloak before they attempt to target a nuclear strike.&lt;br /&gt;
&lt;br /&gt;
== Restoration ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 50 energy by default.&lt;br /&gt;
This can be used on a unit to cure a wide range of spell effects. Stasis field cannot be removed by restoration.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will sometimes use Restoration to cure his units. Running a melee AI Script causes the computer to use it more.&lt;br /&gt;
&lt;br /&gt;
== Optical Flare ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 75 energy by default.&lt;br /&gt;
The targeted unit will gain the &amp;quot;Blind&amp;quot; status, which reduces the unit's vision radius to a minimum. Blind also removes the &amp;quot;Detector&amp;quot; ability of the unit. Whenever a unit becomes blinded, vision is updated for all players on the map.&lt;br /&gt;
This effect can only be canceled with the Medic's Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
For the computer to cast optical flare on an enemy unit, the unit must have at least 81 hit points, including protoss shield points. Attacking the Medic or running a Melee AI Script for the computer player controlling the Medic will cause the computer to use the spell more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Heal ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Medic]]. Is costs 1 energy by default. Note: Changing the energy cost will not actually effect how much energy the medic uses to cast heal.&lt;br /&gt;
Medics use this spell on allied damaged organic units automatically.&lt;br /&gt;
Medics heal at 200/256 HP for 100/256 Energy per frame.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computers use heal nearly the same way as humans. Medics automatically acquire targets to heal. But the Computer only heals its own units.&lt;br /&gt;
&lt;br /&gt;
== Lift Off ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
Six Terran buildings and the Infested Command Center can lift off, becoming mobile air units but losing other functions. The building may then land on any buildable terrain including creep if infested.&lt;br /&gt;
Landing on top of some units will &amp;quot;crush&amp;quot; them, killing them instantly. These units include: Burrowed Zerg units, Siege Tanks in Siege Mode, and Interceptors.&lt;br /&gt;
A building that was created with the &amp;quot;lifted&amp;quot; property moves at a speed about 1/3 faster than regular until it is landed.&lt;br /&gt;
Computer players are not known to use lift off or land at all.&lt;br /&gt;
&lt;br /&gt;
== Repair ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
A [[Terran SCV]] may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will repair his damaged units when a melee AI Script is running.&lt;br /&gt;
They won't repair allied units, hero units, or SCVs. The heal rate is based on the unit's Max HP and Build time. See regeneration for more details.&lt;br /&gt;
&lt;br /&gt;
== Nuclear Strike ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Ghost]]. No energy is required by default. A nuke must be built before this ability can be used.&lt;br /&gt;
A [[Terran Ghost]] may target a location for a nuclear strike. A red dot will appear to indicate the location. The ghost must remain alive during the entire targeting process, or the nuke is lost.&lt;br /&gt;
After a short duration, the nuke will drop, dealing damage in a screen-sized area. Units further from the center of the explosion take less damage. Units in the center take full damage, which is 500 -OR- 2/3 of max HP, depending on which one is higher. Nukes deal explosive type damage.&lt;br /&gt;
A nuke cannot do more than 65535 damage. See Nuclear Missile Damage for more details.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
There are AI Scripts that can be used to make a computer build and launch nukes. Terran melee AI Scripts also have the ability to build and launch nukes.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Spells and Abilities]]&lt;br /&gt;
[[Category:Terran]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=605</id>
		<title>Spells (Terran)</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Spells_(Terran)&amp;diff=605"/>
				<updated>2019-02-09T21:32:37Z</updated>
		
		<summary type="html">&lt;p&gt;Nekron: /* Computer Use */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following is the list of Terran spells and abilities.&lt;br /&gt;
&lt;br /&gt;
== Stim Packs ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Marine]], [[Terran Firebat]], [[Jim Raynor]] (Hero Marine), and [[Gui Montag]] (Hero Firebat). No energy is required by default.&lt;br /&gt;
10 points of damage is done to the unit when the ability is used. In order for this ability to be used, the unit must have at least 11 HP.&lt;br /&gt;
When used, the unit will have an increased movement speed (+50%) and attack rate (+75-100%) for 296 frames (about 12.3 seconds on fastest).&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computer players that have a town script running will use this ability when fighting enemy units above 100 health+shields with Marines and Firebats.&lt;br /&gt;
&lt;br /&gt;
== Lockdown ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Ghost]], [[Sarah Kerrigan]] (Hero Ghost), [[Samir Duran]] (Hero Ghost), [[Infested Duran]] (Hero Ghost), and [[Alexie Stukov]] (Hero Ghost). It costs 100 energy by default.&lt;br /&gt;
Lockdown can be cast on any mechanical unit except for buildings. Units affected by lockdown will be unable to move or attack for 1056 frames (about 44 seconds on fastest).&lt;br /&gt;
This effect can be canceled by the [[Terran Medic]]'s Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If a computer controlled [[Terran Ghost]] is attacked, it will attempt to lockdown any enemy mechanical unit in the area.&lt;br /&gt;
&lt;br /&gt;
== EMP Shockwave ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Units in the targeted area will have all of their energy and shield points removed. This works on all units and buildings.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled [[Terran Science Vessel]] will sometimes cast EMP Shockwave on nearby enemy spellcasters. They will also cast it on groups of protoss units to remove their shields.&lt;br /&gt;
&lt;br /&gt;
== Spider Mines ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Vulture]] and [[Jim Raynor]] (Hero Vulture). No energy is required by default.&lt;br /&gt;
Each vulture has a cache of three [[Spider Mines]] that it may place on any walkable terrain. Once the vulture is out of mines, it cannot place more. The mines cannot be replaced or recharged unless by triggers. [[Vulture Spider Mines]] are proximity-activated suicide explosive splash damage units.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will not place spider mines unless a melee [[AI Script]] is running.&lt;br /&gt;
The computer will mainly place spider mines near its own buildings, but will sometimes place them near allied buildings or even enemy buildings.&lt;br /&gt;
&lt;br /&gt;
== Scanner Sweep ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Comsat Station]] addon. It costs 50 energy by default.&lt;br /&gt;
The spell has unlimited range. Any point on the map can be targeted. The targeted area will be revealed to the player for a short duration. The scanner sweep is also a [[detector]].&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will only use this spell for its detection properties. If the computers units are attacked by cloaked units and no detectors are around, he will cast scanner sweep immediately to reveal them.&lt;br /&gt;
&lt;br /&gt;
== Tank Siege Mode ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Siege Tank]] and [[Edmund Duke]] (Hero Siege Tank). No energy is required by default.&lt;br /&gt;
When this ability is used, the tank transforms into a very powerful, long-range, immobile turret. The ability can also be used in this form to toggle back to tank mode. Some time is required for the tank to change between modes. Siege mode also has a minimum attack range; it cannot hit units that are right beside it.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer controlled siege tank will go into siege mode when an enemy unit gets within its range. If the unit moves within the tank's minimum range, it will usually unsiege to attack it in tank mode.&lt;br /&gt;
Computers will not siege or un-siege the hero siege tank.&lt;br /&gt;
Computers can use the unsiege ability even if siege is not researched. (Human players must have the ability researched to siege or unsiege)&lt;br /&gt;
If the Move Unit action is used to move a sieged Siege Tank to a different location, the Tank will unsiege and try to return to its original location.&lt;br /&gt;
&lt;br /&gt;
== Defense Matrix ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 100 energy by default.&lt;br /&gt;
Defense matrix can be used on any unit, except for buildings. The targeted unit will be surrounded by a shield that absorbs damage for 1344 frames (about 56 seconds on fastest), or until the shield has absorbed 250 damage.&lt;br /&gt;
While defense matrix is active on a unit, any attack will result in the unit taking 0.5 damage.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
[[Terran Science Vessel]]s will use this spell on a unit that is nearby, is missing over half its total HP/Shields and is currently being attacked.&lt;br /&gt;
The unit being damaged has to be a higher level unit, like a [[Terran Goliath]], [[Terran Tank]], [[Terran Wraith]], etc. It will also cast it on allied units.&lt;br /&gt;
&lt;br /&gt;
== Irradiate ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Science Vessel]] and [[Magellan]] (Hero Science Vessel). It costs 75 energy by default.&lt;br /&gt;
Irradiate can be cast on any unit, except for buildings. The affected unit will have a large animated cloud around it for 600 frames (about 25 seconds on fastest). Any organic unit touching this cloud will take damage over time.&lt;br /&gt;
The cloud deals 853/256=3.33 damage every 8 frames for 600 frames, for a total of 63975/256=249.9 damage, and ignores armor. Burrowed units are not hit by the splash.&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
Detailed instructions&lt;br /&gt;
Options for Irradiation:&lt;br /&gt;
&lt;br /&gt;
    * If you want an area to be continually irradiated, you can use irradiated scourges. Just time it with death counts for when to replace the irradiated scourges with new ones.&lt;br /&gt;
    * If you want a unit to itself be irradiated, you can have irradiated scourges following it provided that the unit is unique (scourge can follow it).&lt;br /&gt;
    * If you want a unit itself to be irradiated but you don't want the scourge following it, you can move it to another location to get irradiated and moved back afterwards.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Prerequisites to Irradiate a Unit in an Isolated Location:&lt;br /&gt;
&lt;br /&gt;
    * Have a Zerg Cocoon set to 0/1 hp&lt;br /&gt;
    * Have a Raszagal Hero Corsair near it continually attacking the Cocoon&lt;br /&gt;
    * When you want to get something irradiated (scourge or otherwise), spawn the following near the Cocoon:&lt;br /&gt;
          o Science Vessel (not hero version, with enough energy and irrad researched) owned by a CPU that does not own the Raszagal&lt;br /&gt;
          o The unit you want irradiated owned by an enemy of that CPU&lt;br /&gt;
          o 1hp Civilians surrounding the unit to be irradiated owned by that CPU&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What Happens:&lt;br /&gt;
&lt;br /&gt;
    * The Science Vessel will come under attack by the splash damage of the Raszagal and look to irradiate something.&lt;br /&gt;
    * The Science Vessel will irradiate the unit you want (it's the only one close enough to irradiate)&lt;br /&gt;
    * When the unit is irradiated, the nearby Civilians will instantly die due to splash&lt;br /&gt;
    * After detecting that the Civilian count has changed, remove remaining civilians and the Science Vessel&lt;br /&gt;
    * Move the irradiated unit to wherever you want&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things to Keep in Mind:&lt;br /&gt;
&lt;br /&gt;
    * The isolated location must be ISOLATED, as in nothing can interfere with it by accident&lt;br /&gt;
    * This is based on default AI, no AI scripts needed&lt;br /&gt;
    * Other default AI stuff CAN INTERFERE with this, such as lockdown casts, defense matrix casts, etc. Use other computers for other AI effects as needed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(user posted image)&lt;br /&gt;
Here's a screenshot of a mass irradiated scourge spell demo. There were I believe 40ish irradiated scourges (the damage stacks!). You casted it with dark swarm and subsequent casts moved the entire irradiated ball around.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If a Science Vessel is being attacked, it will cast Irradiate on nearby enemy organic units. They will sometimes use it when idle.&lt;br /&gt;
&lt;br /&gt;
== Yamato Gun ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Battlecruiser, Norad II (Hero Battlecruiser), and Hyperion (Hero Battlecruiser), and Gerard DuGalle (Hero Battlecruiser). It costs 150 energy by default.&lt;br /&gt;
When a unit is targeted for a yamato gun attack the Battlecruiser will first move into range of the unit. The range of yamato gun is very high. The Battlecruiser takes a short duration to &amp;quot;charge&amp;quot; his attack, then fires. The attack does 260 explosive damage to a single target.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer tends to use Yamato Gun on strong units such as Carriers or other Battlecruisers. Running a melee AI Script makes them use it more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Cloak ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Ghost, Sarah Kerrigan (Hero Ghost), Samir Duran (Hero Ghost), Infested Duran (Hero Ghost), Alexei Stukov (Hero Ghost), Infested Kerrigan, Wraith, and Tom Kazansky (Hero Wraith). Cloaking Field(for Wraiths) and Personnel Cloaking(for Ghosts) cost the same amount of initial energy(25), but spends a different amount of energy while cloaked. Personnel Cloaking drains 18/256 additional energy each frame as long as cloaking is engaged, or 10/256 energy per frame including energy regeneration. Cloaking Field drains 21/256 energy per each frame (13/256 per frame including regeneration).&lt;br /&gt;
Cloaked units are not visible to other players unless they have a Detector in range. If the unit's energy runs out, the cloak is canceled automatically. Ghosts will not acquire targets automatically while cloaked unless manually ordered to attack a target, or ordered to hold position.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
If their ability is researched (There's a separate technology for Ghost and Wraith cloaking) Ghosts and Wraiths will cloak when attacked. Ghosts will also cloak before they attempt to target a nuclear strike.&lt;br /&gt;
&lt;br /&gt;
== Restoration ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 50 energy by default.&lt;br /&gt;
This can be used on a unit to cure a wide range of spell effects. Stasis field cannot be removed by restoration.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
A computer player will sometimes use Restoration to cure his units. Running a melee AI Script causes the computer to use it more.&lt;br /&gt;
&lt;br /&gt;
== Optical Flare ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the Medic. It costs 75 energy by default.&lt;br /&gt;
The targeted unit will gain the &amp;quot;Blind&amp;quot; status, which reduces the unit's vision radius to a minimum. Blind also removes the &amp;quot;Detector&amp;quot; ability of the unit. Whenever a unit becomes blinded, vision is updated for all players on the map.&lt;br /&gt;
This effect can only be canceled with the Medic's Restoration ability.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
For the computer to cast optical flare on an enemy unit, the unit must have at least 81 hit points, including protoss shield points. Attacking the Medic or running a Melee AI Script for the computer player controlling the Medic will cause the computer to use the spell more aggressively.&lt;br /&gt;
&lt;br /&gt;
== Heal ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This spell is used by the [[Terran Medic]]. Is costs 1 energy by default. Note: Changing the energy cost will not actually effect how much energy the medic uses to cast heal.&lt;br /&gt;
Medics use this spell on allied damaged organic units automatically.&lt;br /&gt;
Medics heal at 200/256 HP for 100/256 Energy per frame.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
Computers use heal nearly the same way as humans. Medics automatically acquire targets to heal. But the Computer only heals its own units.&lt;br /&gt;
&lt;br /&gt;
== Lift Off ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
Six Terran buildings and the Infested Command Center can lift off, becoming mobile air units but losing other functions. The building may then land on any buildable terrain including creep if infested.&lt;br /&gt;
Landing on top of some units will &amp;quot;crush&amp;quot; them, killing them instantly. These units include: Burrowed Zerg units, Siege Tanks in Siege Mode, and Interceptors.&lt;br /&gt;
A building that was created with the &amp;quot;lifted&amp;quot; property moves at a speed about 1/3 faster than regular until it is landed.&lt;br /&gt;
Computer players are not known to use lift off or land at all.&lt;br /&gt;
&lt;br /&gt;
== Repair ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
A [[Terran SCV]] may repair damage to a Terran mechanical unit or Terran building for part of the unit's base resource costs and time costs.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
The computer will repair his damaged units when a melee AI Script is running.&lt;br /&gt;
They won't repair allied units, hero units, or SCVs. The heal rate is based on the unit's Max HP and Build time. See regeneration for more details.&lt;br /&gt;
&lt;br /&gt;
== Nuclear Strike ==&lt;br /&gt;
(user posted image)&lt;br /&gt;
This ability is used by the [[Terran Ghost]]. No energy is required by default. A nuke must be built before this ability can be used.&lt;br /&gt;
A [[Terran Ghost]] may target a location for a nuclear strike. A red dot will appear to indicate the location. The ghost must remain alive during the entire targeting process, or the nuke is lost.&lt;br /&gt;
After a short duration, the nuke will drop, dealing damage in a screen-sized area. Units further from the center of the explosion take less damage. Units in the center take full damage, which is 500 -OR- 2/3 of max HP, depending on which one is higher. Nukes deal explosive type damage.&lt;br /&gt;
A nuke cannot do more than 65535 damage. See Nuclear Missile Damage for more details.&lt;br /&gt;
&lt;br /&gt;
=== Computer Use ===&lt;br /&gt;
There are AI Scripts that can be used to make a computer build and launch nukes. Terran melee AI Scripts also have the ability to build and launch nukes.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
[[Category:Spells and Abilities]]&lt;br /&gt;
[[Category:Terran]]&lt;/div&gt;</summary>
		<author><name>Nekron</name></author>	</entry>

	</feed>