Adjust the upgrade rule for SpawnActorOnDeath
This commit is contained in:
@@ -1724,6 +1724,8 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
var deathType = node.Value.Nodes.FirstOrDefault(n => n.Key == "DeathType");
|
var deathType = node.Value.Nodes.FirstOrDefault(n => n.Key == "DeathType");
|
||||||
if (deathType == null)
|
if (deathType == null)
|
||||||
node.Value.Nodes.Add(new MiniYamlNode("DeathType", "TiberiumDeath"));
|
node.Value.Nodes.Add(new MiniYamlNode("DeathType", "TiberiumDeath"));
|
||||||
|
|
||||||
|
node.Value.Nodes.Add(new MiniYamlNode("RequiresLobbyCreeps", "true"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (node.Key == "LeavesHusk")
|
if (node.Key == "LeavesHusk")
|
||||||
|
|||||||
@@ -196,6 +196,7 @@
|
|||||||
OwnerType: InternalName
|
OwnerType: InternalName
|
||||||
InternalOwner: Creeps
|
InternalOwner: Creeps
|
||||||
DeathType: TiberiumDeath
|
DeathType: TiberiumDeath
|
||||||
|
RequiresLobbyCreeps: true
|
||||||
Crushable:
|
Crushable:
|
||||||
WarnProbability: 67
|
WarnProbability: 67
|
||||||
CrushSound: squish2.aud
|
CrushSound: squish2.aud
|
||||||
|
|||||||
@@ -262,6 +262,7 @@
|
|||||||
OwnerType: InternalName
|
OwnerType: InternalName
|
||||||
InternalOwner: Creeps
|
InternalOwner: Creeps
|
||||||
DeathType: EnergyDeath # TODO: FIX ME! (Tiberium currently uses the wrong damage type!)
|
DeathType: EnergyDeath # TODO: FIX ME! (Tiberium currently uses the wrong damage type!)
|
||||||
|
RequiresLobbyCreeps: true
|
||||||
Guard:
|
Guard:
|
||||||
Voice: Move
|
Voice: Move
|
||||||
Guardable:
|
Guardable:
|
||||||
|
|||||||
Reference in New Issue
Block a user