Merge pull request #12808 from reaperrr/d2k-revealonfire

Enable enemy reveal when attacking friendly units in D2k
This commit is contained in:
reaperrr
2017-02-27 21:29:52 +01:00
committed by GitHub
5 changed files with 12 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ ornithopter:
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: ornithopter.husk Actor: ornithopter.husk
RejectsOrders: RejectsOrders:
RevealOnFire:
ornithopter.husk: ornithopter.husk:
Inherits: ^AircraftHusk Inherits: ^AircraftHusk

View File

@@ -115,8 +115,9 @@ sandworm:
MovingInterval: 3 MovingInterval: 3
RequiresCondition: !attacking RequiresCondition: !attacking
ConditionManager: ConditionManager:
Buildable: RevealOnFire:
Description: Attracted by vibrations in the sand.\nWill eat units whole and has a large appetite. Duration: 50
Radius: 2c512
sietch: sietch:
Inherits: ^Building Inherits: ^Building

View File

@@ -169,6 +169,7 @@
Sequence: pickup-indicator Sequence: pickup-indicator
Offset: -12, -12 Offset: -12, -12
RequiresCondition: carryall-reserved RequiresCondition: carryall-reserved
RevealOnFire:
^Tank: ^Tank:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -295,6 +296,7 @@
Rough: 80 Rough: 80
Voiced: Voiced:
VoiceSet: InfantryVoice VoiceSet: InfantryVoice
RevealOnFire:
^Plane: ^Plane:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
@@ -389,3 +391,4 @@
Range: 2c0, 4c0 Range: 2c0, 4c0
MustBeDestroyed: MustBeDestroyed:
RequiredForShortGame: false RequiredForShortGame: false
RevealOnFire:

View File

@@ -44,6 +44,7 @@ engineer:
CaptureTypes: building, husk CaptureTypes: building, husk
PlayerExperience: 50 PlayerExperience: 50
-AutoTarget: -AutoTarget:
-RevealOnFire:
Voiced: Voiced:
VoiceSet: EngineerVoice VoiceSet: EngineerVoice
@@ -78,6 +79,7 @@ trooper:
thumper: thumper:
Inherits: ^Infantry Inherits: ^Infantry
-AutoTarget: -AutoTarget:
-RevealOnFire:
Buildable: Buildable:
Queue: Infantry Queue: Infantry
BuildPaletteOrder: 60 BuildPaletteOrder: 60
@@ -239,6 +241,7 @@ saboteur:
Flashes: 0 Flashes: 0
EnterBehaviour: Suicide EnterBehaviour: Suicide
-AutoTarget: -AutoTarget:
-RevealOnFire:
Cloak: Cloak:
InitialDelay: 85 InitialDelay: 85
CloakDelay: 85 CloakDelay: 85

View File

@@ -45,6 +45,7 @@ mcv:
Step: 5 Step: 5
Delay: 3 Delay: 3
HealIfBelow: 50 HealIfBelow: 50
-RevealOnFire:
harvester: harvester:
Inherits: ^Vehicle Inherits: ^Vehicle
@@ -95,6 +96,7 @@ harvester:
Step: 5 Step: 5
Delay: 3 Delay: 3
HealIfBelow: 50 HealIfBelow: 50
-RevealOnFire:
trike: trike:
Inherits: ^Vehicle Inherits: ^Vehicle