Adjust the upgrade rule for SpawnActorOnDeath

This commit is contained in:
abcdefg30
2015-08-12 19:33:58 +02:00
parent 9f5a8a6d1f
commit b24c1845fb
3 changed files with 4 additions and 0 deletions

View File

@@ -1724,6 +1724,8 @@ namespace OpenRA.Mods.Common.UtilityCommands
var deathType = node.Value.Nodes.FirstOrDefault(n => n.Key == "DeathType");
if (deathType == null)
node.Value.Nodes.Add(new MiniYamlNode("DeathType", "TiberiumDeath"));
node.Value.Nodes.Add(new MiniYamlNode("RequiresLobbyCreeps", "true"));
}
if (node.Key == "LeavesHusk")

View File

@@ -196,6 +196,7 @@
OwnerType: InternalName
InternalOwner: Creeps
DeathType: TiberiumDeath
RequiresLobbyCreeps: true
Crushable:
WarnProbability: 67
CrushSound: squish2.aud

View File

@@ -262,6 +262,7 @@
OwnerType: InternalName
InternalOwner: Creeps
DeathType: EnergyDeath # TODO: FIX ME! (Tiberium currently uses the wrong damage type!)
RequiresLobbyCreeps: true
Guard:
Voice: Move
Guardable: