//================================================================================
// CBPAugmentationManager.
//================================================================================
class MMAugmentationManager extends CBPAugmentationManager;

simulated function Float CalcEnergyUse(float deltaTime)
{
	return 0;
}

Function LeetDrone(bool bOn)
{
	if(bOn)
	{
		Player.bSpyDroneActive = True;
		Player.spyDroneLevel = 3;
		Player.spyDroneLevelValue = 50;
	}
	if(!bOn)
	{
		Player.bSpyDroneActive = False;
	}
}

function AddDefaultAugmentations()
{
	if(_MMRPGPlayer(Player) != None)
	{
		if(_MMRPGPlayer(Player).bNinja)
		{
			GivePlayerAugmentation(Class'Contender.AugNinja');
			GivePlayerAugmentation(Class'Contender.AugSilent');
		}
		if(_MMRPGPlayer(Player).bRifleKing)
		{
			GivePlayerAugmentation(Class'Contender.AugAiming');
		}
	}
	Super.AddDefaultAugmentations();
}

simulated function float GetAugLevelValue(class<Augmentation> AugClass)
{
	local Augmentation anAug;
	local float retval;

	retval = 0;

	if(augClass == Class'DeusEx.AugDrone')
	{
		return 0.0;
	}

	anAug = FirstAug;
	while(anAug != None)
	{
		if (anAug.Class == augClass)
		{
			if (anAug.bHasIt && anAug.bIsActive)
				return anAug.LevelValues[anAug.CurrentLevel];
			else
				return -1.0;
		}

		anAug = anAug.next;
	}

	return -1.0;
}

defaultproperties
{
    augClasses(1)=Class'Contender.AugNinja'
    augClasses(2)=Class'Contender.AugSilent'
    augClasses(3)=Class'Contender.AugAiming'
    defaultAugs=None
     defaultAugs(0)=None
     defaultAugs(1)=None
     defaultAugs(2)=None
    NetPriority=1.40
}
