// TOWN SPECIAL ENCOUNTERS
//    Town 48: Fort Dolthar

beginzonescript;

variables;

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

body;

// 12345 67 89

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,);
//	add_range_to_group(,,groupn);

	set_level(30001,20);
	set_level(30002,20);
	set_level(30003,20);
	set_level(30004,20);

	set_level(30008,28);
	set_level(30009,28);
	
	set_name(4839,"Empire Warrior");
	set_name(4840,"Empire Warrior");
	set_name(4841,"Empire Warrior");

	set_level(4800,20);
	set_name(4800,"Empire Warrior");
	
	set_name(4847,"Cultist Barinar");
	set_boss_level(4847,1);
	
	set_aggression(30006,30);
	set_aggression(30007,30);
	
	set_aggression(30008,40);
	set_aggression(30009,40);
	
	set_name(4852,"Spellweaver Yanoth");
	set_boss_level(4852,1);
	set_new_abil(4852,20);

	set_name(4827,"Infiltrator Orelen");
	set_boss_level(4827,1);
	set_new_abil(4827,8);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((set_ter == 0) && (gf(48,12) > 0)) {
		set_ter = 1;
		set_terrain(0,47,26,0);
		set_floor(0,47,26,11);
		}
break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

beginstate 14;
break;

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

