// .txt

beginzonescript;

variables;

short im_hostile = 0;
short max_crime = 200;
short last_abil;
short counter = 0;

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,"");

	add_range_to_group(5724,5728,13);
	set_aggression(30013,75);
	add_range_to_group(5729,5736,14);
	set_aggression(30014,75);
	add_range_to_group(5737,5741,15);
	set_aggression(30015,75);
	set_name(30015,"Cave Giant Warrior");
	set_name(5741,"Chief Ribsnap");
	set_boss_level(5741,1);

	add_range_to_group(5742,5749,16);
	set_name(30016,"Horde Elite Scout");
	set_aggression(30016,75);
	set_level(30016,30);
	set_boss_level(30016,1);
	set_attack_bonus(30016,30);
	alter_stat(30016,19,8);
	alter_stat(30016,20,6);

	set_name(5750,"Horde Elite Guard");
	set_level(5750,30);
	set_boss_level(5750,2);
	set_name(5751,"Horde Elite Guard");
	set_level(5751,30);
	set_boss_level(5751,2);

	set_name(5756,"General Tregart");
	set_boss_level(5756,2);
	set_level(5756,36);
	set_coloradj(5756,4);
	set_new_abil(5756,5);
	set_name(5757,"Demonic Familiar");
	set_level(5757,32);
	set_boss_level(5757,1);
	set_new_abil(5757,9);
	set_name(5758,"Demonic Familiar");
	set_level(5758,32);
	set_boss_level(5758,1);
	set_new_abil(5758,9);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;

break;

beginstate START_STATE;
		
	//if ((get_crime_level() >= max_crime) && (im_hostile == 0)) {
	//	make_zone_hostile();
	//	im_hostile = 1;
	//	}

	// if (gf(,) == 0) {
	//if (get_ran(1,0,100) < 10)
	//	give_char_text_bubble(,"");
	//	}

	//if (((is_combat()) && (tick_difference(last_abil,get_current_tick()) > 0)) || ((is_group()) && (tick_difference(last_abil,get_current_tick()) > 5))) {
	//	last_abil = get_current_tick();
	//	}
break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

//	print_str("");
//	set_terrain_string_range(".",1);
//	set_terrain_string_range("The sign says - .",1);
