@LabelIndex 63636
@StringIndex 9943
class 0 ai_boss08_evilate_a : default_npc {
parameter:
	string	Privates = "portrait_spirit:ai_boss08_portrait_spirit:4:20sec";
	int	SpawnPosX = 174230;
	int	SpawnPosY = -88012;
	int	SpawnPosZ = -5112;
	int	SpawnAngle = 16384;

handler:
	EventHandler CREATED(i0) {
		myself::AddTimerEx(1000,( 45 * 1000 ));
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 1000 ) {
			myself::CreateOnePrivateEx(1029050,"ai_boss08_portrait_spirit",0,0,SpawnPosX,SpawnPosY,SpawnPosZ,SpawnAngle,0,0,0);
			myself::AddTimerEx(1001,20000);
		} else if( timer_id == 1001 ) {
			myself::CreateOnePrivateEx(1029050,"ai_boss08_portrait_spirit",0,0,SpawnPosX,SpawnPosY,SpawnPosZ,SpawnAngle,0,0,0);
			myself::AddTimerEx(1002,20000);
		} else if( timer_id == 1002 ) {
			myself::CreateOnePrivateEx(1029050,"ai_boss08_portrait_spirit",0,0,SpawnPosX,SpawnPosY,SpawnPosZ,SpawnAngle,0,0,0);
			myself::AddTimerEx(1003,20000);
		} else if( timer_id == 1003 ) {
			myself::CreateOnePrivateEx(1029050,"ai_boss08_portrait_spirit",0,0,SpawnPosX,SpawnPosY,SpawnPosZ,SpawnAngle,0,0,0);
		}
	}

	EventHandler ATTACKED(skill_name_id) {
		if( skill_name_id == 149159937 ) {
			myself::Suicide();
		}
	}

	EventHandler PARTY_DIED(private) {
		if( private != myself.sm ) {
			myself::CreateOnePrivateEx(private.class_id,private.ai,private.weight_point,20,SpawnPosX,SpawnPosY,SpawnPosZ,SpawnAngle,0,0,0);
		}
	}

}
