Fix friendly monster tanks not revealing shroud in Monster Tank Madness

This commit is contained in:
Oliver Brakmann
2017-04-08 20:39:59 +02:00
parent 8f50052a1c
commit b9f0504380
2 changed files with 8 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ SuperTankDomeInfiltrated = function()
Utils.Do(SuperTanks, function(tnk)
tnk.Owner = friendlyMadTanks
if not tnk.IsDead then
tnk.GrantCondition("friendly")
Trigger.ClearAll(tnk)
tnk.Stop()
if tnk.Location.Y > 61 then

View File

@@ -123,6 +123,13 @@ PBOX:
Crushes: wall, mine, crate, infantry
RevealsShroud:
Range: 6c0
RequiresCondition: !friendly
RevealsShroud@friendly:
Range: 6c0
RequiresCondition: friendly
ValidStances: Ally, Enemy
ExternalCondition@friendly:
Condition: friendly
Turreted:
TurnSpeed: 1
Armament@PRIMARY: