unfailing order stuff
This commit is contained in:
@@ -28,7 +28,8 @@ namespace OpenRa.Game.Traits
|
||||
{
|
||||
if (order.OrderString == "IronCurtain")
|
||||
{
|
||||
order.Power.OnFireNotification(self, self.Location);
|
||||
var power = self.Owner.SupportPowers[order.TargetString].Impl;
|
||||
power.OnFireNotification(self, self.Location);
|
||||
Game.world.AddFrameEndTask(w => w.Add(new InvulnEffect(self)));
|
||||
RemainingTicks = (int)(Rules.General.IronCurtain * 60 * 25);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user