// used to increase accuracy of AI on the hoof - for trialing in the alpha, given we have hadso many problems with AI accuracy being either way up or way down, often on the same settings from one day to the next!

_factor = _this select 0;
_player = _this select 1;

if (_factor ==0) then
//decrease
{
	EGG_EVO_accfactor = EGG_EVO_accfactor-0.01;
	if (EGG_EVO_accfactor <0) then {EGG_EVO_accfactor=0};
	publicVariable "EGG_EVO_accfactor";
} else 
//increase
{
	EGG_EVO_accfactor = EGG_EVO_accfactor+0.01;
	if (EGG_EVO_accfactor >0.99) then {EGG_EVO_accfactor=0.99};
	publicVariable "EGG_EVO_accfactor";
};

_player globalchat format ["Accuracy modifier: %1",EGG_EVO_accfactor];
