// .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(1296,1301,1);
	set_level(30001,28);
	set_name(1296,"Horde Warlizard");
	set_name(1297,"Horde Warlizard");
	set_name(1298,"Horde Warlizard");
	set_name(1299,"Lizard Trainer");
	set_name(1300,"Lizard Trainer");
	set_name(1301,"Trainer Sss'Orem");
	set_boss_level(1301,1);
	set_aggression(30001,70);

	add_range_to_group(1302,1309,2);
	set_name(30002,"Horde Warlizard");
	set_aggression(30002,50);
	add_range_to_group(1310,1317,3);
	set_name(30003,"Horde Warlizard");
	set_aggression(30003,50);

	add_range_to_group(1318,1323,4);
	set_level(30004,30);
	set_name(30004,"Altered Warlizard");
		place_particle_num(1318,1,12,5);		
		place_particle_num(1318,1,13,5);		
		place_particle_num(1319,2,12,5);		
		place_particle_num(1319,2,13,5);		
		place_particle_num(1320,3,12,5);		
		place_particle_num(1320,3,13,5);		
		place_particle_num(1321,4,12,5);		
		place_particle_num(1321,4,13,5);		
		place_particle_num(1322,5,12,5);		
		place_particle_num(1322,5,13,5);		
		place_particle_num(1323,6,12,5);		
		place_particle_num(1323,6,13,5);
	set_resistance(1318,0,90);
	set_resistance(1319,1,90);
	set_resistance(1320,2,90);
	set_resistance(1321,4,90);
	set_resistance(1321,5,90);
	set_resistance(1322,6,90);
	set_resistance(1323,7,90);
	
	set_aggression(30004,60);
	
	set_name(1324,"Battlemage Eckth");
	set_level(1324,32);
	set_boss_level(1324,1);

	add_range_to_group(1325,1329,5);
	set_name(1329,"Obesik of the Eye");
	set_boss_level(1329,1);
	
	set_name(1330,"Arrorra");
	if (gf(12,6) > 0)
		erase_char(1330);
		
	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);
