Add first version of Soviet 01 classic
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user