class CoreModifierRules expands Object
	config
	perobjectconfig;

var() config bool bHasConfig;
var() config float LeechMultiplier;
var() config float RuMultiplier;
var() config float BaseUpgradeCost;

function ApplyRules( SiegeGI Game)
{
	local int i;

	For ( i=0 ; i<4 ; i++ )
	{
		if ( Game.Cores[i] != none )
		{
			Game.Cores[i].RURewardScale = LeechMultiplier;
			Game.Cores[i].UpgradeCost = BaseUpgradeCost;
			Game.Cores[i].RuMultiplier = RuMultiplier;
		}
	}
	if ( !bHasConfig )
	{
		bHasConfig = true;
		SaveConfig();
	}
}

defaultproperties
{
    LeechMultiplier=1
    RuMultiplier=1
    BaseUpgradeCost=80
}
