Add first version of Soviet 01 classic

This commit is contained in:
Scott_NZ
2012-12-31 14:47:34 +13:00
parent 411aedafa0
commit 9581f07242
5 changed files with 1088 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#region Copyright & License Information
#region Copyright & License Information
/*
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
@@ -41,10 +41,16 @@ namespace OpenRA.Mods.RA
++ammo;
return true;
}
public bool TakeAmmo()
{
if (ammo <= 0) return false;
--ammo;
return true;
}
public int ReloadTimePerAmmo() { return Info.ReloadTicks; }
public void Attacking(Actor self, Target target) { --ammo; }
public void Attacking(Actor self, Target target) { TakeAmmo(); }
public IEnumerable<PipType> GetPips(Actor self)
{