class 1 dark_choir_player : warrior
{
handler:
	EventHandler CREATED()
	{
		myself.i_ai0 = 0;
		myself::AddTimerEx(10000,( ( 15 * 60 ) * 1000 ));
		super;
	}

	EventHandler ATTACKED(attacker,damage)
	{
		if( myself.i_ai0 == 0 )
		{
			myself.i_ai0 = 1;
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172831,-81312,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172817,-81618,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172807,-81890,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172842,-82195,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175271,-82316,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175268,-82110,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175273,-82909,-5090,0,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175283,-81644,-5090,0,0,0,0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1c",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1d",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2c",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2d",0);
		}
		super;
	}

	EventHandler CLAN_ATTACKED(attacker,damage,i6)
	{
		if( myself.i_ai0 == 0 )
		{
			myself.i_ai0 = 1;
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172831,-81312,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172817,-81618,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172807,-81890,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,172842,-82195,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175271,-82316,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175268,-82110,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175273,-82909,-5090,8192,0,0,0);
			myself::CreateOnePrivateEx(1018334,"dark_choir_captain",0,0,175283,-81644,-5090,8192,0,0,0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1c",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_1d",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2a",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2b",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2c",0);
			myself::Castle_GateOpenClose2("Godad_fritezza_door02_2d",0);
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id)
	{
		if( timer_id == 10000 )
		{
			myself::Despawn();
		}
		super;
	}

}
