QUOTE(Clokr_)
~Special Thanks to Dabbu!~
Protoss shields have 6 rules and there are no exceptions.
Those rules are:
1. If the unit is not being attacked, or you using a battery shield, the shield increases.
2. If the unit is being attacked shield decreases.
3. If the shield points are the same as the max shield points set in the unit properties window, shield stops increasing.
4. If the shield is negative, shield and life points are not displayed when the unit is selected.
5. MODIFY SHIELD POINTS trigger action sets shield points to a number between 0 and the max shield points set in the unit properties window. EMP shockwave sets shields to 0.
6. If shield points reaches 0, attacks decrease the unit's hit points.
Let's see what happens when a unit with '100' max shield points is attacked. It loses shield points (rule 2) and then it gets shield points (rule 1) until its max, in this case, '100' (rule 3). If shield points arrive to 0, the unit loses hit points (rule 6).
Now, what happens if the same unit has a '-100' max shield points. If the unit is attacked its shield points decreases (Yes! It decreases: '-101', '-102', etc. rule 2) and then it gets shield points (-102, -101, etc. rule 1) until -100 (rule 3). Shield points never reaches 0, so the unit can't lose hit points (rule 6)! The shield points and hit points are not showed (rule 4), so the unit seems invincible, can be attacked, and cannot die.
Now, what happens if you set the shield points to a percent lower than 100% or you use EMP shockwave on the unit? We just need to apply those rules.
The unit starts with '-100' shield points, and then you use EMP shockwave. Shield points are set to '0', and the unit can lose its hit points (rule 6). If it is not attacked it gets shield points (rule 1) until it reaches '-100' shield points (rule 3), but that is impossible, because if it have '0', it will gain shield points '1', '2', '3', etc. and will not stop getting shield points because the max is negative. Now shield points are positive, but shield points and hit points are not displayed (rule 4). So it looks invincible but this time it is not!
Well, I've read it all through, and how can I make a unit have -100 shield?? I've tried it in SC XTRA, but there you can't type a "-" in a shield box, wether you do it in the unit properties box or in a trigger. And if I do it in Starforge (by editing the trigger manually) it still has a positive shield amount in-game. Can anyone please help me?
