// .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(7668,7673,43);
	add_range_to_group(7677,7683,44);
	set_name(7677,"Fang Clan Warrior");
	set_name(7678,"Fang Clan Warrior");
	set_name(7679,"Fang Clan Tanner");
	set_name(7680,"Fang Clan Tanner");
	set_name(7681,"Fang Clan Archer");
	set_name(7682,"Fang Clan Archer");
	set_name(7683,"Garram'Rrr");
	set_boss_level(7683,1);
	
	add_range_to_group(7684,7688,45);
	set_name(30045,"Abyss Warrior");
	set_name(7684,"Koppel");
	set_boss_level(7684,1);
	set_new_abil(7684,11);
	alter_stat(7684,20,8);
	alter_stat(7684,19,10);
	alter_stat(7684,28,10);
	set_name(7688,"Grim Apprentice");
	set_boss_level(7688,1);
	set_new_abil(7688,7);
	set_attack_bonus(7688,12);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;

break;

beginstate START_STATE;
	if (num_chars_in_group(45) == 0)
		sf(71,5,1);
		
	//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);
