// .txt

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

	set_name(5940,"Ogre Mage Ekta");
	set_level(5940,32);
	
	add_range_to_group(5945,5949,7);
	set_name(30007,"Horde Farmer");

	add_range_to_group(5950,5953,8);

	add_range_to_group(5954,5957,9);
	set_name(5954,"Horde Warlizard");
	set_name(5955,"Horde Warlizard");
	set_name(5956,"Horde Warlizard");
	set_name(5957,"Horde Lizardkeeper");
	
	set_name(5967,"Wormspawn Shambler");
	set_boss_level(5967,2);

	add_range_to_group(5972,5975,10);
	set_level(30010,30);
	set_boss_level(30010,1);
	set_name(5972,"Dedrick");
	set_name(5973,"Formellan Thug");
	set_name(5974,"Formellan Thug");
	set_name(5975,"Formellan Thug");
	set_attack_bonus(30010,10);
	set_new_abil(30010,20);
	
	sf(55,1,1);
	
	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);
