class RandomChancePrereqState extends PrereqState
{
}

class RandomChancePrereq extends IScriptablePrereq
{

	protected const override function OnApplied( state : PrereqState, game : GameInstance, context : IScriptable )
	{
		var random : Float;
		random = RandRangeF( 0.0, 1.0 );
		( ( RandomChancePrereqState )( state ) ).OnChanged( random > 0.5 );
	}

}

