// TOWN SPECIAL ENCOUNTERS
//    Town 43: Nepharim Fortress

beginzonescript;

variables;

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

body;

//1 23 45 67 8

beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_level(4338,12);
	set_level(4346,12);
	
	set_crime_tolerance(max_crime);

	set_aggression(30001,50);
	set_aggression(30002,80);
	set_aggression(30003,80);
	set_aggression(30004,40);
		set_aggression(30008,60);

	set_name(4353,"Spiritist Fharrr");
	
	set_name(4308,"Nephar Alchemist");
	set_new_abil(4308,11);
	set_name(4309,"Nephar Alchemist");
	set_new_abil(4309,11);
	set_name(4310,"Nephar Alchemist");
	set_new_abil(4310,11);
	set_name(4352,"Nephar Alchemist");
	set_new_abil(4352,11);
	
	sf(43,26,0);
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((did_spawn == 0) && (gf(43,26) > 0)) {
		did_spawn = 1;
		activate_hidden_group(5);
		}
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);

